]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- unlock multple trees
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 13 Aug 2011 05:29:26 +0000 (05:29 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 13 Aug 2011 05:29:26 +0000 (05:29 +0000)
Changed files:
    bin/pfa-unlocktree -> 1.3

bin/pfa-unlocktree

index 6bbdb1e3620c0cd20ca09c8ba1940c5ba939b665..43acb0907205b7ce8b422a1783466006bf07f86e 100644 (file)
@@ -12,5 +12,6 @@ if len(sys.argv) < 2:
     print "unlock.py tree"
     sys.exit(1)
 
-ftpio.connect()
-print ftpio.unlock(sys.argv[1])
+for tree in sys.argv[1:]:
+    ftpio.connect()
+    print "Unlock %s: %s" % (tree, ftpio.unlock(sys.argv[1]))
This page took 0.099431 seconds and 4 git commands to generate.