Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 55b40b0

Browse files
committed
Fix a dumb typo in the revparse() regular exception: {1-4} should be {1,4}.
Now you can click on revisions and diffs again!
1 parent a58e9ed commit 55b40b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/faqwiz/faqwiz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def emphasize(line):
105105
def revparse(rev):
106106
global revparse_prog
107107
if not revparse_prog:
108-
revparse_prog = re.compile(r'^(\d{1,3})\.(\d{1-4})$')
108+
revparse_prog = re.compile(r'^(\d{1,3})\.(\d{1,4})$')
109109
m = revparse_prog.match(rev)
110110
if not m:
111111
return None

0 commit comments

Comments
 (0)