diff options
author | Thomas Kluyver <thomas@kluyver.me.uk> | 2019-11-11 08:15:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-11 08:15:44 +0000 |
commit | 7b073bfa10209d6b3836d7b3e2429df89e7bf305 (patch) | |
tree | 70cbd8609ec3958a7a03a7de978738752b31c75a | |
parent | 4a64a9ca400aaecbe804f32120e66f815b74a686 (diff) | |
parent | 76f3f4f4fff6e1981111278b9bcbad9b75b52b82 (diff) | |
download | pexpect-git-7b073bfa10209d6b3836d7b3e2429df89e7bf305.tar.gz |
Merge pull request #600 from wataash/fix-import-path
Fix old import path
-rwxr-xr-x | examples/astat.py | 2 | ||||
-rwxr-xr-x | examples/chess.py | 2 | ||||
-rwxr-xr-x | examples/chess2.py | 2 | ||||
-rwxr-xr-x | examples/chess3.py | 2 | ||||
-rwxr-xr-x | examples/hive.py | 2 | ||||
-rwxr-xr-x | examples/topip.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/astat.py b/examples/astat.py index abba1be..50937a3 100755 --- a/examples/astat.py +++ b/examples/astat.py @@ -38,7 +38,7 @@ import os import sys import getopt import getpass -import pxssh +from pexpect import pxssh try: diff --git a/examples/chess.py b/examples/chess.py index f97a3a9..a15fd94 100755 --- a/examples/chess.py +++ b/examples/chess.py @@ -27,7 +27,7 @@ from __future__ import print_function from __future__ import absolute_import import pexpect -import ANSI +from pexpect import ANSI REGEX_MOVE = r'(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)' REGEX_MOVE_PART = r'(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)' diff --git a/examples/chess2.py b/examples/chess2.py index b92509e..f8a7c24 100755 --- a/examples/chess2.py +++ b/examples/chess2.py @@ -27,7 +27,7 @@ from __future__ import print_function from __future__ import absolute_import import pexpect -import ANSI +from pexpect import ANSI import sys import time diff --git a/examples/chess3.py b/examples/chess3.py index 2c087b0..e3e6200 100755 --- a/examples/chess3.py +++ b/examples/chess3.py @@ -27,7 +27,7 @@ from __future__ import print_function from __future__ import absolute_import import pexpect -import ANSI +from pexpect import ANSI REGEX_MOVE = r'(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)' REGEX_MOVE_PART = r'(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)' diff --git a/examples/hive.py b/examples/hive.py index 1b7bcbf..43eeb04 100755 --- a/examples/hive.py +++ b/examples/hive.py @@ -94,7 +94,7 @@ import readline import atexit try: import pexpect - import pxssh + from pexpect import pxssh except ImportError: sys.stderr.write("You do not have 'pexpect' installed.\n") sys.stderr.write("On Ubuntu you need the 'python-pexpect' package.\n") diff --git a/examples/topip.py b/examples/topip.py index 64dac30..9cf3824 100755 --- a/examples/topip.py +++ b/examples/topip.py @@ -70,7 +70,7 @@ from __future__ import unicode_literals # See http://pexpect.sourceforge.net/ import pexpect -import pxssh +from pexpect import pxssh import os import sys import time |