[sysadmin-bin] move comment to where it makes sense



commit 6783cbb7a1e6ca02f66bd0ea7675d9b4c224066f
Author: Olav Vitters <olav vitters nl>
Date:   Mon Mar 26 16:21:46 2012 +0200

    move comment to where it makes sense

 ftpadmin |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ftpadmin b/ftpadmin
index 6b87bbf..d18511e 100755
--- a/ftpadmin
+++ b/ftpadmin
@@ -857,11 +857,11 @@ Install %s? [Y/n]""" % self.module,
 
         # Don't allow an existing tarball to be overwritten
         if not DEBUG:
-            # When debugging, only check for the exact tarball name
             if self.version in self.moduleinfo.versions:
                 print >>sys.stderr, """ERROR: %s already exists in the archive!""" % self.basename
                 return False
         else:
+            # When debugging, only check for the exact tarball name
             if os.path.exists(os.path.join(self.destination, self.basename)):
                 print >>sys.stderr, """ERROR: %s already exists in the archive!""" % self.basename
                 return False



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]