Skip to content

Commit

Permalink
Check app.version because Markdown does this
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobenolt committed Jan 22, 2014
1 parent d2ac8b6 commit d744ebd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions raven/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def get_version_from_app(module_name, app):
version = get_version
elif hasattr(app, 'VERSION'):
version = app.VERSION
elif hasattr(app, 'version'):
version = app.version
elif hasattr(app, '__version__'):
version = app.__version__
elif pkg_resources:
Expand Down

0 comments on commit d744ebd

Please sign in to comment.