summaryrefslogtreecommitdiff
path: root/sphinx/highlighting.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/highlighting.py')
-rw-r--r--sphinx/highlighting.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py
index 61cea214d..61c413d7a 100644
--- a/sphinx/highlighting.py
+++ b/sphinx/highlighting.py
@@ -101,7 +101,8 @@ class PygmentsBridge(object):
style = NoneStyle
elif '.' in stylename:
module, stylename = stylename.rsplit('.', 1)
- style = getattr(__import__(module, None, None, ['__name__']), stylename)
+ style = getattr(__import__(module, None, None, ['__name__']),
+ stylename)
else:
style = get_style_by_name(stylename)
if dest == 'html':