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 4ca99f5 commit 5d500abCopy full SHA for 5d500ab
gcloud/datastore/helpers.py
@@ -56,7 +56,7 @@ def get_protobuf_attribute_and_value(val):
56
elif isinstance(val, float):
57
name, value = 'double', val
58
elif isinstance(val, (int, long)):
59
- INT_VALUE_CHECKER.CheckValue(val) # This will raise an exception if invalid.
+ INT_VALUE_CHECKER.CheckValue(val) # Raise an exception if invalid.
60
name, value = 'integer', long(val) # Always cast to a long.
61
elif isinstance(val, basestring):
62
name, value = 'string', val
0 commit comments