Skip to content

Commit

Permalink
Avoid super() on old-style class
Browse files Browse the repository at this point in the history
  • Loading branch information
mikix committed Oct 27, 2014
1 parent c14a39d commit 7ee639e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duplicity/backends/_ssh_paramiko.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def missing_host_key(self, client, hostname, key):
sys.stdout.write(question)
choice = raw_input().lower()
if choice in ['yes','y']:
super(AgreedAddPolicy, self).missing_host_key(client, hostname, key)
paramiko.AutoAddPolicy.missing_host_key(self, client, hostname, key)
return
elif choice in ['no','n']:
raise AuthenticityException( hostname )
Expand Down

0 comments on commit 7ee639e

Please sign in to comment.