From 0e2974f1af7500997666a21880af9a88947a8125 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Thu, 19 Nov 2009 20:52:48 -0500 Subject: [PATCH] Always use absolute imports. Signed-off-by: Evan Broder --- afs/acl.py | 6 +++--- afs/fs.py | 4 ++-- afs/pts.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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. -- 1.7.9.5