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 dba0de6 commit 012a274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/autowig/libclang_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ 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()
content = content.encode()
if content:
index = Index.create()
tempfilehandler = NamedTemporaryFile(delete=False)
Expand Down

0 comments on commit 012a274

Please sign in to comment.