cosmetic
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 16 Sep 2013 10:10:35 +0000 (12:10 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 16 Sep 2013 10:10:35 +0000 (12:10 +0200)
plugins/hazelnut/__init__.py

index 9509dc0..e09d91a 100644 (file)
@@ -5,13 +5,15 @@ class Hazelnut (Plugin):
     # set checkboxes if a final column with checkboxes is desired
     # pass columns as the initial set of columns
     #   if None then this is taken from the query's fields
     # set checkboxes if a final column with checkboxes is desired
     # pass columns as the initial set of columns
     #   if None then this is taken from the query's fields
-    def __init__ (self, query=None, query_all=None, checkboxes=False, columns=None, datatables_options={}, **settings):
+    def __init__ (self, query=None, query_all=None, 
+                  checkboxes=False, columns=None, 
+                  datatables_options={}, **settings):
         Plugin.__init__ (self, **settings)
         self.query          = query
         # Until we have a proper way to access queries in Python
         self.query_all      = query_all
         self.query_all_uuid = query_all.query_uuid if query_all else None
         Plugin.__init__ (self, **settings)
         self.query          = query
         # Until we have a proper way to access queries in Python
         self.query_all      = query_all
         self.query_all_uuid = query_all.query_uuid if query_all else None
-        self.checkboxes=checkboxes
+        self.checkboxes     = checkboxes
         # XXX We need to have some hidden columns until we properly handle dynamic queries
         if columns is not None:
             self.columns=columns
         # XXX We need to have some hidden columns until we properly handle dynamic queries
         if columns is not None:
             self.columns=columns
@@ -53,4 +55,7 @@ class Hazelnut (Plugin):
 
     # the list of things passed to the js plugin
     def json_settings_list (self):
 
     # the list of things passed to the js plugin
     def json_settings_list (self):
-        return ['plugin_uuid', 'domid', 'query_uuid', 'query_all_uuid', 'checkboxes', 'datatables_options', 'hidden_columns']
+        return ['plugin_uuid', 'domid', 
+                'query_uuid', 'query_all_uuid', 
+                'checkboxes', 'datatables_options', 
+                'hidden_columns']