Skip to content

Commit

Permalink
Better default for get_version value
Browse files Browse the repository at this point in the history
  • Loading branch information
ingenieroariel committed May 18, 2012
1 parent b4393c4 commit 90b9fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GeoNodePy/geonode/utils.py
Expand Up @@ -63,7 +63,7 @@ def keys(self):
def get_version(version=None):
"Returns a PEP 386-compliant version number from VERSION."
if version is None:
from django import VERSION as version
from geonode import __version__ as version
else:
assert len(version) == 5
assert version[3] in ('alpha', 'beta', 'rc', 'final')
Expand Down

0 comments on commit 90b9fc6

Please sign in to comment.