Oops, fill the /list/ correct with the p4 exit code.
authorSimon Hausmann <shausman@rhea.troll.no>
Wed, 23 May 2007 21:32:32 +0000 (23:32 +0200)
committerSimon Hausmann <shausman@rhea.troll.no>
Wed, 23 May 2007 21:32:32 +0000 (23:32 +0200)
git-p4

diff --git a/git-p4 b/git-p4
index 89a85ebb19aa7c94d04b6ce76c1187d296b42355..6ae3bc6e5db86babbc1b8d68a66f28252881ba07 100755 (executable)
--- a/git-p4
+++ b/git-p4
@@ -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