Browse Source

[EmFieldGroup] pep8+pylint

Roland Haroutiounian 9 years ago
parent
commit
3b12b84c9d
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      EditorialModel/fieldgroups.py

+ 1
- 4
EditorialModel/fieldgroups.py View File

@@ -1,7 +1,6 @@
1 1
 #-*- coding: utf-8 -*-
2 2
 
3 3
 from EditorialModel.components import EmComponent
4
-import EditorialModel.fieldtypes as ftypes
5 4
 from EditorialModel.fields import EmField
6 5
 
7 6
 
@@ -14,12 +13,10 @@ class EmFieldGroup(EmComponent):
14 13
     ranked_in = 'class_id'
15 14
 
16 15
     ## EmFieldGroup instanciation
17
-    def __init__(self, model, uid, name, class_id, string = None, help_text = None, date_update = None, date_create = None, rank = None):
18
-
16
+    def __init__(self, model, uid, name, class_id, string=None, help_text=None, date_update=None, date_create=None, rank=None):
19 17
         self.class_id = class_id
20 18
         self.check_type('class_id', int)
21 19
         super(EmFieldGroup, self).__init__(model=model, uid=uid, name=name, string=string, help_text=help_text, date_update=date_update, date_create=date_create, rank=rank)
22
-        pass
23 20
 
24 21
     ## Check if the EmFieldGroup is valid
25 22
     # @return True if valid False if not

Loading…
Cancel
Save