summaryrefslogtreecommitdiffstats
path: root/Tools/faqwiz
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-22 19:43:21 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-22 19:43:21 (GMT)
commit55b40b06d2cb3e6effd3aa663813923c4001ee66 (patch)
tree67c0d9e07760c11db4f6e78b7476fdf359f96525 /Tools/faqwiz
parenta58e9edbef1ee29c646f96dcf1706325b7e091f1 (diff)
downloadcpython-55b40b06d2cb3e6effd3aa663813923c4001ee66.zip
cpython-55b40b06d2cb3e6effd3aa663813923c4001ee66.tar.gz
cpython-55b40b06d2cb3e6effd3aa663813923c4001ee66.tar.bz2
Fix a dumb typo in the revparse() regular exception: {1-4} should be {1,4}.
Now you can click on revisions and diffs again!
Diffstat (limited to 'Tools/faqwiz')
-rw-r--r--Tools/faqwiz/faqwiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py
index 318b642..49af1a8 100644
--- a/Tools/faqwiz/faqwiz.py
+++ b/Tools/faqwiz/faqwiz.py
@@ -105,7 +105,7 @@ revparse_prog = None
def revparse(rev):
global revparse_prog
if not revparse_prog:
- revparse_prog = re.compile(r'^(\d{1,3})\.(\d{1-4})$')
+ revparse_prog = re.compile(r'^(\d{1,3})\.(\d{1,4})$')
m = revparse_prog.match(rev)
if not m:
return None