Browse Source

PEP8/PyLint on fieldtypes/char.py

Roland Haroutiounian 9 years ago
parent
commit
352735200d
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      EditorialModel/fieldtypes/char.py

+ 3
- 2
EditorialModel/fieldtypes/char.py View File

2
 
2
 
3
 from EditorialModel.fields import EmField
3
 from EditorialModel.fields import EmField
4
 
4
 
5
+
5
 class EmFieldChar(EmField):
6
 class EmFieldChar(EmField):
6
-    
7
+
7
     ftype = 'char'
8
     ftype = 'char'
8
     help = 'Basic string (varchar) field. Take max_length=64 as option'
9
     help = 'Basic string (varchar) field. Take max_length=64 as option'
9
-    
10
+
10
     ## @brief A char field
11
     ## @brief A char field
11
     # @brief max_length int : The maximum length of this field
12
     # @brief max_length int : The maximum length of this field
12
     def __init__(self, max_length=64, **kwargs):
13
     def __init__(self, max_length=64, **kwargs):

Loading…
Cancel
Save