Selaa lähdekoodia

Changed the documentation of the lodel.editorial_model.exceptions module

Roland Haroutiounian 7 vuotta sitten
vanhempi
commit
d39f9784c4
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5
    1
      lodel/editorial_model/exceptions.py

+ 5
- 1
lodel/editorial_model/exceptions.py Näytä tiedosto

@@ -1,5 +1,9 @@
1 1
 #-*- coding: utf-8 -*-
2 2
 
3
+## @package lodel.editorial_model.exceptions
4
+# This module contains the specific exceptions related to the EditorialModel Management.
5
+
6
+
3 7
 class EditorialModelError(Exception):
4 8
     pass
5 9
 
@@ -7,7 +11,7 @@ class EditorialModelError(Exception):
7 11
 def assert_edit():
8 12
     try:
9 13
         from lodel import Settings
10
-    except ImportError: #Very dirty, but don't know how to fix the tests
14
+    except ImportError:  # Very dirty, but don't know how to fix the tests
11 15
         return
12 16
     if not Settings.editorialmodel.editormode:
13 17
         raise EditorialModelError("EM is readonly : editormode is OFF")

Loading…
Peruuta
Tallenna