diff options
author | Simon Hausmann <shausman@trolltech.com> | 2007-05-23 23:32:32 +0200 |
---|---|---|
committer | Simon Hausmann <shausman@trolltech.com> | 2007-05-23 23:32:32 +0200 |
commit | ac3e0d79eef4535bb61d79315688fb1d225dea3b (patch) | |
tree | 883e19579b4c5b4425148a438d905fe500466206 /contrib/fast-import/git-p4 | |
parent | Don't make len(p4Cmd("p4 changes -m 1 //foo/...")) == 0 succeed when the p4 c... (diff) | |
download | tgif-ac3e0d79eef4535bb61d79315688fb1d225dea3b.tar.xz |
Oops, fill the /list/ correct with the p4 exit code.
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
Diffstat (limited to 'contrib/fast-import/git-p4')
-rwxr-xr-x | contrib/fast-import/git-p4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 89a85ebb19..6ae3bc6e5d 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/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 |