kopia lustrzana
https://github.com/yweber/lodel2.git
zsynchronizowano 2025-12-17 07:16:55 +01:00
[pep8] Correction sur les lignes vides entre les classes et les méthodes
Ten commit jest zawarty w:
rodzic
9cec5af1fa
commit
79c168587e
4 zmienionych plików z 3 dodań i 2 usunięć
|
|
@ -76,7 +76,6 @@ class EmClass(EmComponent):
|
|||
meta.drop_all(tables=[class_table], bind=dbe)
|
||||
return super(EmClass, self).delete()
|
||||
|
||||
|
||||
## Retrieve list of the field_groups of this class
|
||||
# @return A list of fieldgroups instance
|
||||
def fieldgroups(self):
|
||||
|
|
|
|||
|
|
@ -398,12 +398,14 @@ class EmComponent(object):
|
|||
class EmComponentNotExistError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
## @brief Raised on uniq constraint error at creation
|
||||
# This exception class is dedicated to be raised when create() method is called
|
||||
# if an EmComponent with this name but different parameters allready exist
|
||||
class EmComponentExistError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
## @brief An exception class to tell that no ranking exist yet for the group of the object
|
||||
class EmComponentRankingNotExistError(Exception):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ class EmFieldGroup(EmComponent):
|
|||
|
||||
return super(EmFieldGroup, cls).create(name=name, class_id=em_class.uid, **em_component_args)
|
||||
|
||||
|
||||
## Get the list of associated fields
|
||||
# @return A list of EmField instance
|
||||
def fields(self):
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ from EditorialModel.classtypes import EmClassType
|
|||
import EditorialModel.fieldtypes as ftypes
|
||||
import EditorialModel.classes
|
||||
|
||||
|
||||
## Represents type of documents
|
||||
# A type is a specialisation of a class, it can select optional field,
|
||||
# they have hooks, are organized in hierarchy and linked to other
|
||||
|
|
|
|||
Ładowanie…
Dodaj tabelę
Add a link
Odniesienie w nowym zgłoszeniu