Fix python3 indentation

Signed-off-by: François Andriot <francois.andriot@thalesgroup.com>
pull/31/head r14.1.0
François Andriot 2 years ago
parent 2b9cf56a72
commit 3cd0cbde8a

@ -185,10 +185,10 @@ class CopyCenterPlugin:
self.copierer.writeSuccess(record, 1)
else:
print("=> insert failed: %s" % self.kexidbconnection.lastError())
self.copierer.writeFailed(record)
self.copierer.writeFailed(record)
#import time
#time.sleep(1)
return True
#time.sleep(1)
return True
def __init__(self, copycenter):
""" Constructor. """

@ -147,13 +147,13 @@ class GuiApp:
raise Exception("Import of the Kross GUI module failed.")
self.dialog = gui.Dialog("Export XHTML")
self.dialog.addLabel(self.dialog, "Export a table- or query-datasource to a XHTML-file.")
self.dialog.addLabel(self.dialog, "Export a table- or query-datasource to a XHTML-file.")
datasourceitems = self.datasource.getSources()
self.datasourcelist = self.dialog.addList(self.dialog, "Datasource:", datasourceitems)
self.datasourcelist = self.dialog.addList(self.dialog, "Datasource:", datasourceitems)
styleitems = ["Plain", "Paper", "Blues"]
self.stylelist = self.dialog.addList(self.dialog, "Style:", styleitems)
self.stylelist = self.dialog.addList(self.dialog, "Style:", styleitems)
#queryframe = Tkinter.Frame(frame)
#queryframe.pack()

@ -203,8 +203,8 @@ class KexiDBOutput:
""" Constructor. """
import kexiapp
keximainwindow = kexiapp.get("KexiAppMainWindow")
try:
try:
self.connection = keximainwindow.getConnection()
except:
raise Exception("No connection established. Please open a project before.")

Loading…
Cancel
Save