Code

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 89a85ebb19aa7c94d04b6ce76c1187d296b42355..6ae3bc6e5db86babbc1b8d68a66f28252881ba07 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