* name changes
This commit is contained in:
@@ -15,7 +15,7 @@ import sys
|
|||||||
from pisi.cli.pisicli import PisiCLI
|
from pisi.cli.pisicli import PisiCLI
|
||||||
from pisi.ui import ui
|
from pisi.ui import ui
|
||||||
|
|
||||||
def handleException(exception, value, tb):
|
def handle_exception(exception, value, tb):
|
||||||
import traceback
|
import traceback
|
||||||
import exceptions
|
import exceptions
|
||||||
import xml
|
import xml
|
||||||
@@ -41,8 +41,7 @@ Please file a bug report! (http://bugs.uludag.org.tr)
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
sys.excepthook = handleException
|
sys.excepthook = handle_exception
|
||||||
|
|
||||||
cli = PisiCLI()
|
cli = PisiCLI()
|
||||||
cli.runCommand()
|
cli.run_command()
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -61,5 +61,5 @@ class PisiCLI(object):
|
|||||||
self.parser.print_help()
|
self.parser.print_help()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
def runCommand(self):
|
def run_command(self):
|
||||||
self.command.run()
|
self.command.run()
|
||||||
|
|||||||
Reference in New Issue
Block a user