Oops, fill the /list/ correct with the p4 exit code.
authorSimon Hausmann <shausman@trolltech.com>
Wed, 23 May 2007 21:32:32 +0000 (23:32 +0200)
committerSimon Hausmann <shausman@trolltech.com>
Wed, 23 May 2007 21:32:32 +0000 (23:32 +0200)
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4

index 89a85eb..6ae3bc6 100755 (executable)
@@ -33,7 +33,9 @@ def p4CmdList(cmd):
         pass
     exitCode = pipe.close()
     if exitCode != None:
-        result["p4ExitCode"] = exitCode
+        entry = {}
+        entry["p4ExitCode"] = exitCode
+        result.append(entry)
 
     return result