Skip to content

Commit

Permalink
Update hash for Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Sep 5, 2017
1 parent 33a05f9 commit dca4c3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/conda/python-autowig/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ requirements:
- pandoc
- pypandoc
- path.py
- python-clang
- python-clang [py2k]
- numpy

test:
Expand All @@ -61,4 +61,4 @@ test:
commands:
- nosetests test -x -s -v -A "level <= {{ environ.get('TEST_LEVEL', 1) }} and linux" [linux]
- nosetests test -x -s -v -A "level <= {{ environ.get('TEST_LEVEL', 1) }} and osx" [osx]
# - nosetests test -x -s -v -A "level <= {{ environ.get('TEST_LEVEL', 1) }} and win" [win]
- nosetests test -x -s -v -A "level <= {{ environ.get('TEST_LEVEL', 1) }} and win" [win]
3 changes: 3 additions & 0 deletions src/py/autowig/asg.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ def hash(self):
"""
return str(uuid.uuid5(uuid.NAMESPACE_X500, self._node)).replace('-', '')

def __hash__(self):
return self.hash

def __dir__(self):
return sorted([key for key in self._asg._nodes[self._node].keys()] + [key for key in dir(self.__class__)])

Expand Down

0 comments on commit dca4c3b

Please sign in to comment.