Skip to content

Commit

Permalink
Update for Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Aug 26, 2017
1 parent c9b9ce5 commit dba0de6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/py/autowig/libclang_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def is_copyable_record(self):
def libclang_parser(asg, filepaths, flags, silent=False, **kwargs):
warnings.warn('The libclang parser is no more maintened', DeprecationWarning)
content = pre_processing(asg, filepaths, flags, **kwargs)
if six.PY3:
content.encode()
if content:
index = Index.create()
tempfilehandler = NamedTemporaryFile(delete=False)
Expand Down

0 comments on commit dba0de6

Please sign in to comment.