diff --git a/pcl_expect/user.py b/pcl_expect/user.py index f5f8771b970c3542a1dbed97525db9d2986625d1..10db92ca0c3bc6322767e3290d047974c20aea95 100644 --- a/pcl_expect/user.py +++ b/pcl_expect/user.py @@ -6,7 +6,7 @@ import termios import pcl_expect __all__ = [ - "user", + "User", "RAW", "CBREAK", ] @@ -33,7 +33,7 @@ def _restore(): -class user(pcl_expect.expectable): +class User(pcl_expect.Expectable): def __init__(self, mode = None): fd = sys.stdin.fileno() @@ -47,12 +47,12 @@ class user(pcl_expect.expectable): elif mode != None: raise pcl_expect.BadArgs() - pcl_expect.expectable.__init__(self, fd) + pcl_expect.Expectable.__init__(self, fd) def send(self, s): sys.stdout.write(s) sys.stdout.flush() def close(self): - pcl_expect.expectable.close(self) + pcl_expect.Expectable.close(self) _restore()