Author: brosner
Date: Sun Jan  4 15:32:11 2009
New Revision: 134

Modified:
    trunk/notification/__init__.py

Log:
Modified the version generation to ignore the final designation.

Modified: trunk/notification/__init__.py
==============================================================================
--- trunk/notification/__init__.py      (original)
+++ trunk/notification/__init__.py      Sun Jan  4 15:32:11 2009
@@ -1,6 +1,9 @@
  VERSION = (0, 1, 0, "pre")

  def get_version():
-    return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
+    if VERSION[3] != "final":
+        return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2],  
VERSION[3])
+    else:
+        return "%s.%s.%s" % (VERSION[0], VERSION[1], VERSION[2])

  __version__ = get_version()

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to