summaryrefslogtreecommitdiffstats
path: root/bin/clean_locks
diff options
context:
space:
mode:
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