瀏覽代碼

[Exceptions] pep8+pylint on exceptions.py

Roland Haroutiounian 9 年之前
父節點
當前提交
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…
取消
儲存