Commit 5dede6cb authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Starting with a PyLint pass

parent d8ec099d
......@@ -29,6 +29,7 @@ __url__ = "http://taste.tuxfamily.org"
# User must list explicitly the classes he wants to expose to the GUI:
__all__ = ['SQLTelecommands', 'SQLTelemetries']
class TM(QDockWidget, QObject):
''' Subclasses of TM will receive ASN.1 data from the GUI whenever a
value is updated (through a Qt slot)
......@@ -66,11 +67,12 @@ class TC(QDockWidget, QObject):
''' Initialisation of the Widget '''
super(TC, self).__init__(parent)
class SQLTelecommands(TC):
''' Handle Postgresql databases for telecommands '''
name = 'Get from db'
def __init__(self, parent=None, asn1_typename):
def __init__(self, asn1_typename, parent=None, asn1_typename):
''' Initialise the widget '''
# to do here = create a table widget, and place all the entries
# of the given ASN.1 type
......@@ -137,4 +139,3 @@ class SQLTelemetries(TM):
if __name__ == '__main__':
print 'This module can only be imported from the main TASTE guis'
sys.exit(-1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment