Author: brosner
Date: Sun Jan 4 15:17:16 2009
New Revision: 131
Modified:
trunk/notification/__init__.py
Log:
Updated the version generating to be more specific and format nicely.
Modified: trunk/notification/__init__.py
==============================================================================
--- trunk/notification/__init__.py (original)
+++ trunk/notification/__init__.py Sun Jan 4 15:17:16 2009
@@ -1,2 +1,6 @@
-VERSION = (0, 1, 'pre')
-__version__ = '.'.join(map(str, VERSION))
\ No newline at end of file
+VERSION = (0, 1, 0, "pre")
+
+def get_version():
+ return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
+
+__version__ = get_version()
\ No newline at end of file
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---