Skip to content

Commit

Permalink
Long and integer are different in python 3. Thanks @moyamo #80
Browse files Browse the repository at this point in the history
  • Loading branch information
koalalorenzo committed Jan 10, 2015
1 parent 3a02812 commit a3ca206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digitalocean/Droplet.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def __get_ssh_keys_id_or_fingerprint(self):
"""
ssh_keys_id = list()
for ssh_key in self.ssh_keys:
if type(ssh_key) in [int, long]:
if type(ssh_key) in [int, type(2**64)]:
ssh_keys_id.append(int(ssh_key))

elif type(ssh_key) == SSHKey:
Expand Down

0 comments on commit a3ca206

Please sign in to comment.