diff --git a/pisi-cli b/pisi-cli index 432dc1bd..5e4dd284 100755 --- a/pisi-cli +++ b/pisi-cli @@ -69,6 +69,12 @@ Please file a bug report. (http://bugs.uludag.org.tr)""")) if __name__ == "__main__": + try: + import psyco + psyco.full() + except ImportError: + pass + sys.excepthook = handle_exception locale.setlocale(locale.LC_ALL, '')