Selaa lähdekoodia

Clarify error message

Alois Mahdal 10 vuotta sitten
vanhempi
commit
d5e0f587fd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      include/sardine.py

+ 1
- 1
include/sardine.py Näytä tiedosto

@@ -37,7 +37,7 @@ class BasePlugin(object):
37 37
         method_n = "render_" + self.data.fmt
38 38
 
39 39
         def ex(__):
40
-            raise SardinePluginError("method not defined: " + method_n)
40
+            raise SardinePluginError("plugin method not defined: " + method_n)
41 41
 
42 42
         render_fn = getattr(self, method_n, ex)
43 43
         return render_fn()