소스 검색

[Exceptions] pep8+pylint on exceptions.py

Roland Haroutiounian 10 년 전
부모
커밋
33d163db8f
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5
    0
      EditorialModel/exceptions.py

+ 5
- 0
EditorialModel/exceptions.py 파일 보기

@@ -1,22 +1,27 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 
3
+
3 4
 ## @brief An exception class to tell that a component don't exist
4 5
 class EmComponentNotExistError(Exception):
5 6
     pass
6 7
 
8
+
7 9
 ## @brief Raised on uniq constraint error at creation
8 10
 # This exception class is dedicated to be raised when create() method is called
9 11
 # if an EmComponent with this name but different parameters allready exist
10 12
 class EmComponentExistError(Exception):
11 13
     pass
12 14
 
15
+
13 16
 ## @brief An exception class to tell that no ranking exist yet for the group of the object
14 17
 class EmComponentRankingNotExistError(Exception):
15 18
     pass
16 19
 
20
+
17 21
 ## @brief An exception class to return a failure reason for EmComponent.check() method
18 22
 class EmComponentCheckError(Exception):
19 23
     pass
20 24
 
25
+
21 26
 class MigrationHandlerChangeError(Exception):
22 27
     pass

Loading…
취소
저장