diff options
author | shimizukawa <shimizukawa@gmail.com> | 2015-02-24 22:38:01 +0900 |
---|---|---|
committer | shimizukawa <shimizukawa@gmail.com> | 2015-02-24 22:38:49 +0900 |
commit | 87527b8558b428ff9a91fe664b56f90bcb3d2428 (patch) | |
tree | c7803acfffdad3536d7f7caa068776c5c2e24d80 /sphinx/transforms.py | |
parent | 89c53d5a2b276f6c03c83e7d3c8d112e072f0713 (diff) | |
download | sphinx-git-87527b8558b428ff9a91fe664b56f90bcb3d2428.tar.gz |
fix too long line
Diffstat (limited to 'sphinx/transforms.py')
-rw-r--r-- | sphinx/transforms.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sphinx/transforms.py b/sphinx/transforms.py index c6ed799e6..3f775517e 100644 --- a/sphinx/transforms.py +++ b/sphinx/transforms.py @@ -378,8 +378,9 @@ class Locale(Transform): except IndexError: # empty node pass # XXX doctest and other block markup - if not isinstance(patch, - (nodes.paragraph,) + LITERAL_TYPE_NODES + IMAGE_TYPE_NODES): + if not isinstance( + patch, + (nodes.paragraph,) + LITERAL_TYPE_NODES + IMAGE_TYPE_NODES): continue # skip for now # auto-numbered foot note reference should use original 'ids'. |