* name changes

This commit is contained in:
Eray Özkural
2005-08-14 17:26:46 +00:00
parent a77defd1d6
commit b03f4d1b08
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -15,7 +15,7 @@ import sys
from pisi.cli.pisicli import PisiCLI
from pisi.ui import ui
def handleException(exception, value, tb):
def handle_exception(exception, value, tb):
import traceback
import exceptions
import xml
@@ -41,8 +41,7 @@ Please file a bug report! (http://bugs.uludag.org.tr)
if __name__ == "__main__":
sys.excepthook = handleException
sys.excepthook = handle_exception
cli = PisiCLI()
cli.runCommand()
cli.run_command()
+1 -1
View File
@@ -61,5 +61,5 @@ class PisiCLI(object):
self.parser.print_help()
sys.exit(1)
def runCommand(self):
def run_command(self):
self.command.run()