pylint fixes and bug fixes for CLI/GUI split

svn: r12677
This commit is contained in:
Benny Malengier
2009-06-19 08:46:17 +00:00
parent a16fc9a8cb
commit 5f77bfea3b
7 changed files with 151 additions and 74 deletions

View File

@@ -75,10 +75,10 @@ class DbLoader(CLIDbLoader):
self.uistate = uistate
self.import_info = None
def _warn(title, warnmessage):
def _warn(self, title, warnmessage):
WarningDialog(title, warnmessage)
def _errordialog(title, errormessage):
def _errordialog(self, title, errormessage):
"""
Show the error.
In the GUI, the error is shown, and a return happens