Mercurial > kallithea
diff rhodecode/__init__.py @ 1205:f4807acf643d beta
added __license__ into main of rhodecode, PEP8ify
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 04 Apr 2011 19:43:31 +0200 |
parents | 6832ef664673 |
children | a671db5bdd58 |
line wrap: on
line diff
--- a/rhodecode/__init__.py Sun Apr 03 18:49:12 2011 +0200 +++ b/rhodecode/__init__.py Mon Apr 04 19:43:31 2011 +0200 @@ -31,9 +31,10 @@ __version__ = '.'.join((str(each) for each in VERSION[:4])) __dbversion__ = 3 #defines current db version for migrations __platform__ = platform.system() +__license__ = 'GPLv3' -PLATFORM_WIN = ('Windows',) -PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD',) +PLATFORM_WIN = ('Windows') +PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD') try: from rhodecode.lib.utils import get_current_revision @@ -45,6 +46,7 @@ if len(VERSION) > 3 and _rev: __version__ += ' [rev:%s]' % _rev[0] + def get_version(): """Returns shorter version (digit parts only) as string."""