Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added version to __init__.py

  • Loading branch information...
commit feb1684a5b2dc251a7be3eb523cc2737a1627c22 1 parent a3c207b
Kevin Renskers authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 generic_mail/__init__.py
View
9 generic_mail/__init__.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.