summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2012-06-05 10:36:47 (GMT)
committerFrédéric Péters <fpeters@0d.be>2012-06-05 10:36:47 (GMT)
commit77dc6a2fc879019d42cf8f39351b3723edec3c65 (patch)
treea3ec86355859b1c87b95b7d320f5d9295d3fa572
parent20baf16413fee7f5242064937a55deeab2f64bca (diff)
downloadtabellio.searchform-77dc6a2fc879019d42cf8f39351b3723edec3c65.zip
tabellio.searchform-77dc6a2fc879019d42cf8f39351b3723edec3c65.tar.gz
tabellio.searchform-77dc6a2fc879019d42cf8f39351b3723edec3c65.tar.bz2
add missing parenthesis
-rw-r--r--tabellio/searchform/cmpfunctions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tabellio/searchform/cmpfunctions.py b/tabellio/searchform/cmpfunctions.py
index fe522b2..9a769fe 100644
--- a/tabellio/searchform/cmpfunctions.py
+++ b/tabellio/searchform/cmpfunctions.py
@@ -8,7 +8,7 @@ def get_no_as_int(i):
if i:
if ' ' in i:
try:
- return int(re.match('\d+', i).group()
+ return int(re.match('\d+', i).group())
except ValueError:
return 99999
try: