Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: holgern/beem
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.22.8
Choose a base ref
...
head repository: holgern/beem
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.22.9
Choose a head ref
  • 5 commits
  • 8 files changed
  • 3 contributors

Commits on Mar 25, 2020

  1. Update comment.py

    Returns amount type which has not attribute split()
    sourovafrin authored Mar 25, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b73b1f2 View commit details

Commits on Mar 26, 2020

  1. Merge pull request #222 from sourovafrin/patch-1

    Update comment.py
    holgern authored Mar 26, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8a57060 View commit details
  2. Release 0.22.9

    * add steem node
    * fix 'dict' object has no attribute 'split
    holgern committed Mar 26, 2020
    Copy the full SHA
    3c0c73f View commit details
  3. Copy the full SHA
    223a6d6 View commit details
  4. Fix split

    holgern committed Mar 26, 2020
    Copy the full SHA
    68dd08f View commit details
Showing with 19 additions and 6 deletions.
  1. +5 −0 CHANGELOG.rst
  2. +1 −1 beem/comment.py
  3. +8 −0 beem/nodelist.py
  4. +1 −1 beem/version.py
  5. +1 −1 beemapi/version.py
  6. +1 −1 beembase/version.py
  7. +1 −1 beemgraphenebase/version.py
  8. +1 −1 setup.py
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Changelog
=========
0.22.9
------
* add steem node
* fix 'dict' object has no attribute 'split

0.22.8
------
* Allow to use HIVE/HBD also in operations
2 changes: 1 addition & 1 deletion beem/comment.py
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ def _parse_json_data(self, comment):
for p in sbd_amounts:
if p in comment and isinstance(comment.get(p), (string_types, list, dict)):
value = comment.get(p, "0.000 %s" % (self.steem.sbd_symbol))
if value.split(" ")[1] !=self.steem.sbd_symbol:
if isinstance(value, str) and value.split(" ")[1] !=self.steem.sbd_symbol:
value = value.split(" ")[0] + " " + self.steem.sbd_symbol
comment[p] = Amount(value, steem_instance=self.steem)

8 changes: 8 additions & 0 deletions beem/nodelist.py
Original file line number Diff line number Diff line change
@@ -66,6 +66,14 @@ def __init__(self):
"hive": False,
"score": -10
},
{
"url": "https://api.justyy.com",
"version": "0.20.2",
"type": "appbase",
"owner": "justyy",
"hive": False,
"score": 20
},
{
"url": "https://api.steem.house",
"version": "0.20.2",
2 changes: 1 addition & 1 deletion beem/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.22.8'
version = '0.22.9'
2 changes: 1 addition & 1 deletion beemapi/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.22.8'
version = '0.22.9'
2 changes: 1 addition & 1 deletion beembase/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.22.8'
version = '0.22.9'
2 changes: 1 addition & 1 deletion beemgraphenebase/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.22.8'
version = '0.22.9'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
ascii = codecs.lookup('ascii')
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))

VERSION = '0.22.8'
VERSION = '0.22.9'

tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock', 'parameterized']