From: Evan Broder Date: Fri, 20 Nov 2009 01:52:48 +0000 (-0500) Subject: Always use absolute imports. X-Git-Tag: 0.1.0~6 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-afs.git/commitdiff_plain/0e2974f1af7500997666a21880af9a88947a8125 Always use absolute imports. Signed-off-by: Evan Broder --- diff --git a/afs/acl.py b/afs/acl.py index a5293bd..5735438 100644 --- a/afs/acl.py +++ b/afs/acl.py @@ -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", diff --git a/afs/fs.py b/afs/fs.py index a90cd4c..a12b365 100644 --- 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.""" diff --git a/afs/pts.py b/afs/pts.py index cfbfb7d..47346f7 100644 --- a/afs/pts.py +++ b/afs/pts.py @@ -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.