From 6b55225e19cec676bc67a1e584bf73276dc31940 Mon Sep 17 00:00:00 2001 From: Chris Ball Date: Sat, 13 Jun 2009 08:43:28 -0400 Subject: Use a more general regex to test GIT commits; GIT's output has changed. --- libbe/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbe') 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 -- cgit