summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad/common/l2db/query_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap/soledad/common/l2db/query_parser.py')
-rw-r--r--common/src/leap/soledad/common/l2db/query_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/leap/soledad/common/l2db/query_parser.py b/common/src/leap/soledad/common/l2db/query_parser.py
index dd35b12a..15a9ac80 100644
--- a/common/src/leap/soledad/common/l2db/query_parser.py
+++ b/common/src/leap/soledad/common/l2db/query_parser.py
@@ -323,7 +323,7 @@ class Parser(object):
else:
try:
inner = arg_type(arg)
- except ValueError, e:
+ except ValueError as e:
raise errors.IndexDefinitionParseError(
"Invalid value %r for argument type %r "
"(%r)." % (arg, arg_type, e))