Code

Fix variable usage in tag import
authorSimon Hausmann <hausmann@kde.org>
Wed, 28 Mar 2007 15:05:38 +0000 (17:05 +0200)
committerSimon Hausmann <hausmann@kde.org>
Wed, 28 Mar 2007 15:05:38 +0000 (17:05 +0200)
Signed-off-by: Simon Hausmann <hausmann@kde.org>
contrib/fast-import/git-p4

index eab59905486a059281d6895a3d3bd11e5d29babb..60c4b3dc6cba5875db20fdc243e8a209ab026498 100755 (executable)
@@ -660,11 +660,11 @@ class GitSync(Command):
                     self.gitStream.write("EOT\n\n")
 
                 else:
-                    if not silent:
+                    if not self.silent:
                         print "Tag %s does not match with change %s: files do not match." % (labelDetails["label"], change)
 
             else:
-                if not silent:
+                if not self.silent:
                     print "Tag %s does not match with change %s: file count is different." % (labelDetails["label"], change)
 
     def extractFilesInCommitToBranch(self, files, branchPrefix):