Browse Source

EmFieldgroups: unused import

ArnAud 9 years ago
parent
commit
3a281f4261
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      EditorialModel/fieldgroups.py

+ 2
- 2
EditorialModel/fieldgroups.py View File

@@ -1,6 +1,6 @@
1 1
 #-*- coding: utf-8 -*-
2 2
 
3
-from EditorialModel.components import EmComponent, EmComponentNotExistError
3
+from EditorialModel.components import EmComponent
4 4
 from EditorialModel.classes import EmClass
5 5
 import EditorialModel.fieldtypes as ftypes
6 6
 
@@ -17,7 +17,7 @@ class EmFieldGroup(EmComponent):
17 17
 
18 18
     ## The database table name
19 19
     table = 'em_fieldgroup'
20
-    ranked_in='class_id'
20
+    ranked_in = 'class_id'
21 21
 
22 22
     ## List of fields
23 23
     # @todo Bad storage, here we want an ordereddict not a tuple list

Loading…
Cancel
Save