python-feedgen/feedgen/compat.py
Lars Kiesow 444855a248
Flake8 Compatibility
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>
2017-01-05 00:39:33 +01:00

7 lines
138 B
Python

# -*- coding: utf-8 -*-
import sys
if sys.version_info[0] >= 3:
string_types = str
else:
string_types = basestring # noqa: F821