444855a248
This patch makes the feedgen flake8 compatible, fixing some minor issues along the way. Most noticeable, this switches from tabs to spaces. Signed-off-by: Lars Kiesow <lkiesow@uos.de>
25 lines
629 B
Python
25 lines
629 B
Python
# -*- coding: utf-8 -*-
|
|
'''
|
|
feedgen.version
|
|
~~~~~~~~~~~~~~~
|
|
|
|
:copyright: 2013-2017, Lars Kiesow <lkiesow@uos.de>
|
|
|
|
:license: FreeBSD and LGPL, see license.* for more details.
|
|
|
|
'''
|
|
|
|
'Version of python-feedgen represented as tuple'
|
|
version = (0, 4, 1)
|
|
|
|
|
|
'Version of python-feedgen represented as string'
|
|
version_str = '.'.join([str(x) for x in version])
|
|
|
|
version_major = version[:1]
|
|
version_minor = version[:2]
|
|
version_full = version
|
|
|
|
version_major_str = '.'.join([str(x) for x in version_major])
|
|
version_minor_str = '.'.join([str(x) for x in version_minor])
|
|
version_full_str = '.'.join([str(x) for x in version_full])
|