Browse Source

PEP8/Pylint on LeClass

Roland Haroutiounian 9 years ago
parent
commit
5738bb67cb
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      leobject/leclass.py

+ 6
- 6
leobject/leclass.py View File

1
 #-*- coding: utf-8 -*-
1
 #-*- coding: utf-8 -*-
2
 
2
 
3
-import leobject
3
+#import leobject
4
+
4
 
5
 
5
 ## @brief Represent an EmClass data instance
6
 ## @brief Represent an EmClass data instance
6
-# @note Is not a derivated class of LeObject because the concrete class will be a derivated class from LeObect
7
+# @note Is not a derivated class of LeObject because the concrete class will be a derivated class from LeObject
7
 class LeClass(object):
8
 class LeClass(object):
8
-    
9
+
9
     ## @brief Stores fieldtypes by field name
10
     ## @brief Stores fieldtypes by field name
10
     _fieldtypes = dict()
11
     _fieldtypes = dict()
11
     ## @brief Stores relation with some LeType using rel2type fields. Key = rel2type fieldname value = LeType class
12
     ## @brief Stores relation with some LeType using rel2type fields. Key = rel2type fieldname value = LeType class
20
     # @param **kwargs
21
     # @param **kwargs
21
     def __init__(self, **kwargs):
22
     def __init__(self, **kwargs):
22
         raise NotImplementedError("Abstract class")
23
         raise NotImplementedError("Abstract class")
23
-    
24
+
24
     ## @brief Get the linked objects
25
     ## @brief Get the linked objects
25
     # @return an array of LeType derivated class instance
26
     # @return an array of LeType derivated class instance
26
     def linked(self):
27
     def linked(self):
27
         pass
28
         pass
28
-    
29
+
29
     ## @brief Link this class with an LeObject
30
     ## @brief Link this class with an LeObject
30
     # @param leo LeObject : The object to be linked with
31
     # @param leo LeObject : The object to be linked with
31
     # @return True if success False allready done
32
     # @return True if success False allready done
32
     # @throw A Leo exception if the link is not allowed
33
     # @throw A Leo exception if the link is not allowed
33
     def link_to(self, leo):
34
     def link_to(self, leo):
34
         pass
35
         pass
35
-        

Loading…
Cancel
Save