We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9db8a65 commit 0411332Copy full SHA for 0411332
roundup/rest.py
@@ -1439,7 +1439,7 @@ class SimulateFieldStorageFromJson():
1439
def __init__(self, json_string):
1440
''' Parse the json string into an internal dict. '''
1441
def raise_error_on_constant(x):
1442
- raise ValueError, "Unacceptable number: %s"%x
+ raise ValueError("Unacceptable number: %s"%x)
1443
1444
self.json_dict = json.loads(json_string,
1445
parse_constant = raise_error_on_constant)
0 commit comments