Permalink
Browse files

version in __init__ fix

  • Loading branch information...
1 parent 52268ba commit a6563ae0a212edbdb974ae2f787962216a6f51b0 @katraev katraev committed with curlup Dec 27, 2011
Showing with 2 additions and 9 deletions.
  1. +2 −9 frontik/__init__.py
View
@@ -1,15 +1,8 @@
# -*- coding: utf-8 -*-
-VERSION = (2, 10, 0, "dev")
-
-def get_version():
- 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()
+from frontik.version import version
+__version__ = VERSION = version
import lxml.etree as etree
from lxml.builder import E as etree_builder

0 comments on commit a6563ae

Please sign in to comment.