Skip to content

Commit

Permalink
Fix lint failure due to long line.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Oct 7, 2014
1 parent 4ca99f5 commit 5d500ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcloud/datastore/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_protobuf_attribute_and_value(val):
elif isinstance(val, float):
name, value = 'double', val
elif isinstance(val, (int, long)):
INT_VALUE_CHECKER.CheckValue(val) # This will raise an exception if invalid.
INT_VALUE_CHECKER.CheckValue(val) # Raise an exception if invalid.
name, value = 'integer', long(val) # Always cast to a long.
elif isinstance(val, basestring):
name, value = 'string', val
Expand Down

0 comments on commit 5d500ab

Please sign in to comment.