Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow passing parameters of type long when an int is expected.

The test, test_parameter_type_long, added in commit cde2a13, now passes.
  • Loading branch information...
commit 871cde8a4868249564c64f371defe2cd97d635fd 1 parent cde2a13
@msabramo authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  etsy/_core.py
View
2  etsy/_core.py
@@ -62,6 +62,8 @@ def always_ok(self, value):
def check_int(self, value):
+ if isinstance(value, long):
+ return True, value
return isinstance(value, int), value
Please sign in to comment.
Something went wrong with that request. Please try again.