Browse Source

PEP8/PyLint on types.py

Roland Haroutiounian 9 years ago
parent
commit
d1034a643c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      EditorialModel/types.py

+ 2
- 2
EditorialModel/types.py View File

@@ -95,8 +95,8 @@ class EmType(EmComponent):
95 95
 
96 96
     ## Return the list of associated fields
97 97
     # @return A list of EmField instance
98
-    def fields(self, relational = True):
99
-        return [ field for field in self.em_class.fields(relational) if not field.optional or (field.optional and field.uid in self.fields_list) ]
98
+    def fields(self, relational=True):
99
+        return [field for field in self.em_class.fields(relational) if not field.optional or (field.optional and field.uid in self.fields_list)]
100 100
 
101 101
     ## Select_field (Function)
102 102
     #

Loading…
Cancel
Save