]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
genindex: do not hide errors in quiet mode
authorElan Ruusamäe <glen@delfi.ee>
Fri, 14 Jul 2017 08:39:00 +0000 (10:39 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 14 Jul 2017 08:39:00 +0000 (10:39 +0200)
bin/pfa-genindex

index dc12b644cf60755253587370f0f92a847c882c89..de5afa7c1c702dcac2e6ef42ad71c7ab5d4735a0 100755 (executable)
@@ -77,8 +77,7 @@ for tree in trees:
     if ftpio.lock(tree, True):
         locked.append(tree)
     else:
-        if not quiet:
-            print >>sys.stderr, "ERR: %s tree already locked" % tree
+        print >>sys.stderr, "ERR: %s tree already locked" % tree
         for i in locked:
             ftpio.unlock(i)
         sys.exit(1)
This page took 0.207228 seconds and 4 git commands to generate.