summaryrefslogtreecommitdiffstats
path: root/bin/clean_locks
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-01-25 17:25:47 +0000
committerMarius Mauch <genone@gentoo.org>2007-01-25 17:25:47 +0000
commit13368e7dbf44ec8474673c7bbb51df3ae55b9a9e (patch)
treed081c9ed02ce89413cd8cdc2d740d25814fe52c6 /bin/clean_locks
parentac7b281c8f72e400c253b3db49529bfcc698b37c (diff)
downloadportage-13368e7dbf44ec8474673c7bbb51df3ae55b9a9e.tar.gz
portage-13368e7dbf44ec8474673c7bbb51df3ae55b9a9e.tar.bz2
portage-13368e7dbf44ec8474673c7bbb51df3ae55b9a9e.zip
Namespace sanitizing, step 4
svn path=/main/trunk/; revision=5784
Diffstat (limited to 'bin/clean_locks')
-rwxr-xr-xbin/clean_locks6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/clean_locks b/bin/clean_locks
index 71db0b8e2..3b3c33c5c 100755
--- a/bin/clean_locks
+++ b/bin/clean_locks
@@ -5,10 +5,10 @@
import os,sys,errno
try:
- import portage_locks
+ import portage.locks
except ImportError:
sys.path.insert(0, "/usr/lib/portage/pym")
- import portage_locks
+ import portage.locks
if not sys.argv[1:] or "--help" in sys.argv or "-h" in sys.argv:
import portage
@@ -31,7 +31,7 @@ for x in sys.argv[1:]:
if x == "--force":
continue
try:
- for y in portage_locks.hardlock_cleanup(x, remove_all_locks=force):
+ for y in portage.locks.hardlock_cleanup(x, remove_all_locks=force):
print y
print