Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

master is 0.2 and modified version code for development releases

  • Loading branch information...
commit 7c49581cc7d6f9ebc9e6d9ec298149f0bbe6273d 1 parent 985f7b0
Brian Rosner brosner authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 mailer/__init__.py
10 mailer/__init__.py
View
@@ -1,10 +1,12 @@
-VERSION = (0, 1, 0, "final")
+VERSION = (0, 2, 0, "dev", 1)
def get_version():
- if VERSION[3] != "final":
- return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
- else:
+ if VERSION[3] == "final":
return "%s.%s.%s" % (VERSION[0], VERSION[1], VERSION[2])
+ elif VERSION[3] == "dev":
+ return "%s.%s.%s%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3], VERSION[4])
+ else:
+ return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
__version__ = get_version()
Please sign in to comment.
Something went wrong with that request. Please try again.