mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-05-22 06:11:55 +00:00
print module name in all cases
mod.__package__ may be None, so always go for mod.__name__
This commit is contained in:
parent
5ece107044
commit
2ccd430806
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ class ConfigurationLoader(object):
|
|||
except AttributeError as err: # pragma: no cover
|
||||
reraise(err, "Couldn't find configuration '{0}' "
|
||||
"in module '{1}'".format(self.name,
|
||||
mod.__package__))
|
||||
mod.__name__)))
|
||||
try:
|
||||
cls.pre_setup()
|
||||
cls.setup()
|
||||
|
|
|
|||
Loading…
Reference in a new issue