Skip to content

Commit

Permalink
Merge branch 'release/0.5.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Jan 23, 2018
2 parents cd45273 + 17105bb commit a2ec91d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphenebase/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def __init__(self, d):
self.data = d

def __bytes__(self):
return struct.pack("<I", timegm(time.strptime((self.data + "UTC"), timeformat)))
return struct.pack("<i", timegm(time.strptime((self.data + "UTC"), timeformat)))

def __str__(self):
return self.data
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
ascii = codecs.lookup('ascii')
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))

VERSION = '0.5.7'
VERSION = '0.5.8'

setup(
name='graphenelib',
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[tox]
envlist = py35,py36,py37,lint,docs
skip_missing_interpreters = true

[testenv]
deps = -rrequirements-test.txt
Expand Down

0 comments on commit a2ec91d

Please sign in to comment.