pull version from the correct package

This commit is contained in:
Thomas Grainger 2013-11-01 12:02:56 +00:00
parent b06498d8f3
commit d524e3f3e9

View file

@ -1,5 +1,7 @@
try:
__version__ = __import__('pkg_resources').get_distribution('clamd').version
__version__ = __import__('pkg_resources').get_distribution(
'django-axes'
).version
except:
__version__ = ''