Code

Cleanups, remove unused variable.
authorSimon Hausmann <simon@lst.de>
Sun, 11 Feb 2007 20:35:34 +0000 (21:35 +0100)
committerSimon Hausmann <simon@lst.de>
Sun, 11 Feb 2007 20:35:34 +0000 (21:35 +0100)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/p4-fast-export.py

index 989513888a026fe303ee23da01e20b3e9b1e0e27..61b9e67e54b4bdb3808ed8c02eb668a0cb0db1cf 100755 (executable)
@@ -50,7 +50,6 @@ revision = ""
 users = {}
 initialParent = ""
 lastChange = ""
-lastCommitter = ""
 initialTag = ""
 
 if prefix.find("@") != -1:
@@ -98,7 +97,6 @@ def commit(details):
     global initialParent
     global users
     global lastChange
-    global lastCommitter
 
     epoch = details["time"]
     author = details["user"]
@@ -153,7 +151,6 @@ def commit(details):
     gitStream.write("\n")
 
     lastChange = details["change"]
-    lastCommitter = committer
 
 def getUserMap():
     users = {}