Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

master is now 0.2 work and modified version handling for dev releases

  • Loading branch information...
commit 91d9a2f87d54d95deaa7dfe7c24e3671861a3b10 1 parent c9d2d11
Brian Rosner brosner authored

Showing 1 changed file with 6 additions and 4 deletions. Show diff stats Hide diff stats

  1. +6 4 notification/__init__.py
10 notification/__init__.py
... ... @@ -1,9 +1,11 @@
1   -VERSION = (0, 1, 5, "final")
  1 +VERSION = (0, 2, 0, "dev", 1)
2 2
3 3 def get_version():
4   - if VERSION[3] != "final":
5   - return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
6   - else:
  4 + if VERSION[3] == "final":
7 5 return "%s.%s.%s" % (VERSION[0], VERSION[1], VERSION[2])
  6 + elif VERSION[3] == "dev":
  7 + return "%s.%s.%s%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3], VERSION[4])
  8 + else:
  9 + return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
8 10
9 11 __version__ = get_version()

0 comments on commit 91d9a2f

Please sign in to comment.
Something went wrong with that request. Please try again.