Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ValueError catch added.

ValueError occurs in case of self.function looks like 'anything'.
  • Loading branch information...
commit c71591231eb6c74bd31aad9f8d04a083b018b781 1 parent a41287f
@alaif alaif authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  djangomarkup/models.py
View
2  djangomarkup/models.py
@@ -44,7 +44,7 @@ def get_function(self):
modname, funcname = self.function.rsplit('.', 1)
mod = import_module(modname)
self._function = getattr(mod, funcname)
- except (ImportError, AttributeError), err:
+ except (ImportError, AttributeError, ValueError), err:
raise ProcessorConfigurationError(err)
return self._function
Please sign in to comment.
Something went wrong with that request. Please try again.