diff options
author | Chris Ball <cjb@thunk.printf.net> | 2009-06-13 08:43:28 -0400 |
---|---|---|
committer | Chris Ball <cjb@thunk.printf.net> | 2009-06-13 08:43:28 -0400 |
commit | 6b55225e19cec676bc67a1e584bf73276dc31940 (patch) | |
tree | ab27a38d0e71a4f971afeae42e6c5a0aef5e227e | |
parent | a711ecf10df62e30d83c1941065404c53fecd35b (diff) | |
download | bugseverywhere-6b55225e19cec676bc67a1e584bf73276dc31940.tar.gz |
Use a more general regex to test GIT commits; GIT's output has changed.
-rw-r--r-- | libbe/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/git.py b/libbe/git.py index 046e72e..2bb5c59 100644 --- a/libbe/git.py +++ b/libbe/git.py @@ -85,7 +85,7 @@ class Git(RCS): status,output,error = self._u_invoke_client('commit', '-a', '-F', commitfile) revision = None - revline = re.compile("Created (.*)commit (.*):(.*)") + revline = re.compile("(.*) (.*)[:\]] (.*)") match = revline.search(output) assert match != None, output+error assert len(match.groups()) == 3 |