1
0
Forkuj 0
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:
Roland Haroutiounian 2015-07-10 09:01:00 +02:00
commit 79c168587e
4 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -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):

Wyświetl plik

@ -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

Wyświetl plik

@ -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):

Wyświetl plik

@ -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