Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit baf85613ab08c4fd232e94c0a6f7e7fd2f7f98f6
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sun Feb 24 16:43:04 2013 +0100
Small pylint fix
---------------------------------------------------------------
fedocal/forms.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fedocal/forms.py b/fedocal/forms.py
index b2512b3..3c8ab09 100644
--- a/fedocal/forms.py
+++ b/fedocal/forms.py
@@ -36,7 +36,7 @@ import fedocallib
def validate_time(form, field):
""" Validate if the data set in the given field is a valid time.
"""
import re
- if not re.match('\d?\d:\d\d?', field.data):
+ if not re.match(r'\d?\d:\d\d?', field.data):
raise ValidationError('Time must be of type "HH:MM"')
time_data = field.data.split(':')
try: