Classes have now names that begin with uppercase

This is more Pythonic and makes the code more readable.

Backwards compatibility is provided by giving an alias with the
previous name of the class.

It will not be broken until the next major release.
This commit is contained in:
Salvo 'LtWorf' Tomaselli
2015-07-14 15:39:35 +02:00
parent af02b5a59b
commit be7e6fe12d
5 changed files with 31 additions and 26 deletions

View File

@@ -18,7 +18,7 @@
from PyQt5 import QtCore, QtWidgets, QtWidgets
from relational import relation, parser, optimizer, rtypes
from relational.maintenance import user_interface
from relational.maintenance import UserInterface
from relational_gui import about
from relational_gui import survey
@@ -36,7 +36,7 @@ class relForm(QtWidgets.QMainWindow):
self.selectedRelation = None
self.ui = ui
self.qcounter = 1 # Query counter
self.user_interface = user_interface()
self.user_interface = UserInterface()
self.settings = QtCore.QSettings()