summaryrefslogtreecommitdiff
path: root/lib/graph.py
diff options
context:
space:
mode:
authormdroe <mdroe@stsci.edu>2012-06-04 17:02:28 -0400
committermdroe <mdroe@stsci.edu>2012-06-04 17:02:28 -0400
commitf502335a1a9121eeaa8bd2e06adae49c5408830a (patch)
treed442735fd8b7de3a298a60d93352fe3f200d87d8 /lib/graph.py
parentb6749b81e09abad7944a4af21417e23cd8ad3460 (diff)
downloadstsci.sphere-f502335a1a9121eeaa8bd2e06adae49c5408830a.tar.gz
Python 3.x fixes
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17201 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 645db247912b7d5985ab878bd3c7fb5e9574f05d
Diffstat (limited to 'lib/graph.py')
-rw-r--r--lib/graph.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/graph.py b/lib/graph.py
index 97c12b4..58b918d 100644
--- a/lib/graph.py
+++ b/lib/graph.py
@@ -36,6 +36,7 @@
This contains the code that does the actual unioning of regions.
"""
# TODO: Weak references for memory management problems?
+from __future__ import absolute_import, division, unicode_literals, print_function
# STDLIB
import itertools
@@ -45,8 +46,8 @@ import weakref
import numpy as np
# LOCAL
-from sphere import great_circle_arc
-from sphere import vector
+from . import great_circle_arc
+from . import vector
# Set to True to enable some sanity checks
DEBUG = False