Browse Source

Corrected the LeApiQueryError import in LeRelation module

Roland Haroutiounian 9 years ago
parent
commit
598af04b4c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      leapi/lerelation.py

+ 1
- 1
leapi/lerelation.py View File

@@ -31,7 +31,7 @@ class _LeRelation(lecrud._LeCrud):
31 31
 
32 32
     @classmethod
33 33
     def _prepare_relational_fields(cls, field):
34
-        return LeApiQueryError("Relational field '%s' given but %s doesn't is not a LeObject"%(field,cls.__name__))
34
+        return lecrud.LeApiQueryError("Relational field '%s' given but %s doesn't is not a LeObject"%(field,cls.__name__))
35 35
 
36 36
             
37 37
 

Loading…
Cancel
Save