Explorar el Código

Changed the documentation of the lodel.editorial_model.exceptions module

Roland Haroutiounian hace 7 años
padre
commit
d39f9784c4
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5
    1
      lodel/editorial_model/exceptions.py

+ 5
- 1
lodel/editorial_model/exceptions.py Ver fichero

@@ -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…
Cancelar
Guardar