Permalink
Browse files

Added version to __init__.py

  • Loading branch information...
1 parent a3c207b commit feb1684a5b2dc251a7be3eb523cc2737a1627c22 Kevin Renskers committed Nov 9, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 generic_mail/__init__.py
View
@@ -18,6 +18,15 @@
from htmlrenderer import render
+VERSION = (0, 1)
+
+def get_version():
+ version = '%s.%s' % (VERSION[0], VERSION[1])
+ if VERSION[2]:
+ version = '%s.%s' % (version, VERSION[2])
+ return version
+
+
class BodyNotSetException(Exception):
pass

0 comments on commit feb1684

Please sign in to comment.