From d6e3788305a6e0c68156b00a1ae5c0f4aee9aff7 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Mon, 25 Oct 2010 09:10:31 +0000 Subject: typo --- src/poezio.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/poezio.py') diff --git a/src/poezio.py b/src/poezio.py index 6c707714..a46381f9 100644 --- a/src/poezio.py +++ b/src/poezio.py @@ -39,9 +39,9 @@ class MyStdErr(object): """ self.old_stderr = sys.stderr sys.stderr = fd - def restaure(self): + def restore(self): """ - Restaure the good ol' sys.stderr, because we need + Restore the good ol' sys.stderr, because we need it in order to print the tracebacks """ sys.stderr.close() @@ -54,7 +54,7 @@ def exception_handler(type_, value, trace): on any traceback: exit ncurses and print the traceback then exit the program """ - my_stderr.restaure() + my_stderr.restore() try: curses.endwin() curses.echo() -- cgit v1.2.3