Always use absolute imports.
authorEvan Broder <broder@mit.edu>
Fri, 20 Nov 2009 01:52:48 +0000 (20:52 -0500)
committerEvan Broder <broder@mit.edu>
Fri, 20 Nov 2009 01:52:54 +0000 (20:52 -0500)
Signed-off-by: Evan Broder <broder@mit.edu>

afs/acl.py
afs/fs.py
afs/pts.py

index a5293bd..5735438 100644 (file)
@@ -1,7 +1,7 @@
-import _acl
-from _acl import READ, WRITE, INSERT, LOOKUP, DELETE, LOCK, ADMINISTER, \
+import afs._acl
+from afs._acl import READ, WRITE, INSERT, LOOKUP, DELETE, LOCK, ADMINISTER, \
     USR0, USR1, USR2, USR3, USR4, USR5, USR6, USR7
-from _acl import getCallerAccess
+from afs._acl import getCallerAccess
 
 _canonical = {
     "read": "rl",
index a90cd4c..a12b365 100644 (file)
--- a/afs/fs.py
+++ b/afs/fs.py
@@ -1,6 +1,6 @@
 import errno
-import _fs
-from _fs import whichcell
+import afs._fs
+from afs._fs import whichcell
 
 def inafs(path):
     """Return True if a path is in AFS."""
index cfbfb7d..47346f7 100644 (file)
@@ -1,5 +1,5 @@
 import collections
-import _pts
+from afs import _pts
 
 class PTRelationSet(collections.MutableSet):
     """Collection class for the groups/members of a PTEntry.