diff options
Diffstat (limited to 'creole/shared')
-rw-r--r-- | creole/shared/base_emitter.py | 2 | ||||
-rw-r--r-- | creole/shared/document_tree.py | 2 | ||||
-rw-r--r-- | creole/shared/example_macros.py | 3 | ||||
-rw-r--r-- | creole/shared/utils.py | 4 |
4 files changed, 5 insertions, 6 deletions
diff --git a/creole/shared/base_emitter.py b/creole/shared/base_emitter.py index 8113de1..a9964e5 100644 --- a/creole/shared/base_emitter.py +++ b/creole/shared/base_emitter.py @@ -9,8 +9,8 @@ """ -from creole.parser.html_parser_config import BLOCK_TAGS from creole.html_tools.deentity import Deentity +from creole.parser.html_parser_config import BLOCK_TAGS from creole.shared.markup_table import MarkupTable from creole.shared.unknown_tags import transparent_unknown_nodes diff --git a/creole/shared/document_tree.py b/creole/shared/document_tree.py index 6198c8a..31af1d8 100644 --- a/creole/shared/document_tree.py +++ b/creole/shared/document_tree.py @@ -10,8 +10,8 @@ :license: GNU GPL v3 or above, see LICENSE for more details. """ -import warnings import inspect +import warnings from creole.shared.utils import dict2string diff --git a/creole/shared/example_macros.py b/creole/shared/example_macros.py index 428d5d2..25deac7 100644 --- a/creole/shared/example_macros.py +++ b/creole/shared/example_macros.py @@ -15,13 +15,14 @@ from xml.sax.saxutils import escape +from creole.shared.utils import get_pygments_formatter, get_pygments_lexer + try: from pygments import highlight PYGMENTS = True except ImportError: PYGMENTS = False -from creole.shared.utils import get_pygments_lexer, get_pygments_formatter def html(text): diff --git a/creole/shared/utils.py b/creole/shared/utils.py index f80a8ef..a1b5167 100644 --- a/creole/shared/utils.py +++ b/creole/shared/utils.py @@ -11,10 +11,8 @@ -import shlex import json - - +import shlex try: from pygments import lexers |