Code

Clean up python class names.
authorSimon Hausmann <hausmann@kde.org>
Sun, 1 Apr 2007 13:40:46 +0000 (15:40 +0200)
committerSimon Hausmann <hausmann@kde.org>
Sun, 1 Apr 2007 13:40:46 +0000 (15:40 +0200)
Signed-off-by: Simon Hausmann <hausmann@kde.org>
contrib/fast-import/git-p4

index 04433373596e9eddfaced5f4da0aa3309deed4db..24c8e66e87057a2893dd0a475c5e9c2241984aed 100755 (executable)
@@ -160,7 +160,7 @@ class P4CleanTags(Command):
         print "%s tags removed." % len(allTags)
         return True
 
-class P4Sync(Command):
+class P4Submit(Command):
     def __init__(self):
         Command.__init__(self)
         self.options = [
@@ -407,7 +407,7 @@ class P4Sync(Command):
 
         return True
 
-class GitSync(Command):
+class P4Sync(Command):
     def __init__(self):
         Command.__init__(self)
         self.options = [
@@ -1060,8 +1060,8 @@ def printUsage(commands):
 commands = {
     "debug" : P4Debug(),
     "clean-tags" : P4CleanTags(),
-    "submit" : P4Sync(),
-    "sync" : GitSync()
+    "submit" : P4Submit(),
+    "sync" : P4Sync()
 }
 
 if len(sys.argv[1:]) == 0: