Skip to content

Commit

Permalink
enable some python3 compatibility options (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-oquin committed Mar 31, 2013
1 parent cfeae1f commit b0b4953
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions unique_id/src/unique_id/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
"""

# enable some python3 compatibility options:
from __future__ import absolute_import, print_function, unicode_literals

from uuid_msgs.msg import UniqueID

import uuid
Expand Down
4 changes: 4 additions & 0 deletions unique_id/tests/test_unique_id.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env python

# enable some python3 compatibility options:
# (unicode_literals not compatible with python2 uuid module)
from __future__ import absolute_import, print_function

import sys
import unittest

Expand Down

0 comments on commit b0b4953

Please sign in to comment.