diff options
author | Scott Maxwell <scott@codecobblers.com> | 2013-10-30 16:19:30 -0700 |
---|---|---|
committer | Scott Maxwell <scott@codecobblers.com> | 2013-10-30 16:19:30 -0700 |
commit | 66cfa97cce92b1d60383d178887b18dddb999fc1 (patch) | |
tree | d4c70e30fb32d21a8b9f7cfcfbb62afbe1b5c067 /demos | |
parent | 3afc76a6b4c4b06193cdb4837ca1df1f3428fb20 (diff) | |
download | paramiko-66cfa97cce92b1d60383d178887b18dddb999fc1.tar.gz |
Fix imports
Diffstat (limited to 'demos')
-rwxr-xr-x | demos/demo.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/demo.py b/demos/demo.py index cbd7730e..3890eda7 100755 --- a/demos/demo.py +++ b/demos/demo.py @@ -30,7 +30,10 @@ import time import traceback import paramiko -import interactive +try: + import interactive +except ImportError: + from . import interactive def agent_auth(transport, username): |