Skip to content

Commit

Permalink
Updated the version generating to be more specific and format nicely.
Browse files Browse the repository at this point in the history
git-svn-id: https://django-notification.googlecode.com/svn/trunk@131 590c3fc9-4838-0410-bb95-17a0c9b37ca9
  • Loading branch information
brosner committed Jan 4, 2009
1 parent 4947bdf commit ac6e2fd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions notification/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
VERSION = (0, 1, 'pre')
__version__ = '.'.join(map(str, VERSION))
VERSION = (0, 1, 0, "pre")

def get_version():
return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])

__version__ = get_version()

0 comments on commit ac6e2fd

Please sign in to comment.