Skip to content

Commit

Permalink
Remove unneeded long in android device.py (#406)
Browse files Browse the repository at this point in the history
Eases python 2->3 migration
  • Loading branch information
inferno-chromium committed Apr 26, 2019
1 parent 6d9f9e7 commit 8aed7db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/python/platforms/android/device.py
Expand Up @@ -505,8 +505,6 @@ def get_type_binding(value):
return 'f'
if isinstance(value, int):
return 'i'
if isinstance(value, long):
return 'l'
if isinstance(value, str):
return 's'
raise ValueError('Unsupported type %s' % type(value))
Expand Down

0 comments on commit 8aed7db

Please sign in to comment.