aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/__init__.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2015-02-18 19:05:50 -0500
committerWaylan Limberg <waylan.limberg@icloud.com>2015-02-18 19:05:50 -0500
commit77f8db7b41e7e23ea698c815958e31b5801f58bf (patch)
tree322cb55f366854f7dda58da8d4af66766e982290 /markdown/__init__.py
parent00d5eaae7475aec80e11710102fc76adae70cbe6 (diff)
downloadmarkdown-77f8db7b41e7e23ea698c815958e31b5801f58bf.tar.gz
markdown-77f8db7b41e7e23ea698c815958e31b5801f58bf.tar.bz2
markdown-77f8db7b41e7e23ea698c815958e31b5801f58bf.zip
No binary operators at begining of line.
Apparently this is a new requirement of flake8. That's the thing about using tox. Every test run reinstalls all dependencies so an updated dependency might instroduce new errors. I could specify a specific version, but I like staying current.
Diffstat (limited to 'markdown/__init__.py')
-rw-r--r--markdown/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/__init__.py b/markdown/__init__.py
index 9aa3432..107f702 100644
--- a/markdown/__init__.py
+++ b/markdown/__init__.py
@@ -234,8 +234,8 @@ class Markdown(object):
)
# For backward compat (until deprecation)
# check that this is an extension.
- if ('.' not in ext_name and not (hasattr(module, 'makeExtension')
- or (class_name and hasattr(module, class_name)))):
+ if ('.' not in ext_name and not (hasattr(module, 'makeExtension') or
+ (class_name and hasattr(module, class_name)))):
# We have a name conflict
# eg: extensions=['tables'] and PyTables is installed
raise ImportError