Skip to content

Commit b29c843

Browse files
committed
chore(lint): sort imports
1 parent 3efb277 commit b29c843

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

roundup/cgi/templating.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@
2525
import re
2626
import textwrap
2727

28-
from roundup import hyperdb, date, support
28+
from roundup import date, hyperdb, support
2929
from roundup.anypy import urllib_
3030
from roundup.anypy.cgi_ import cgi
3131
from roundup.anypy.html import html_escape
32-
from roundup.anypy.strings import is_us, us2s, s2u, u2s, StringIO
32+
from roundup.anypy.strings import StringIO, is_us, s2u, u2s, us2s
3333
from roundup.cgi import TranslationService, ZTUtils
3434
from roundup.cgi.timestamp import pack_timestamp
3535
from roundup.exceptions import RoundupException
36+
3637
from .KeywordsExpr import render_keywords_expression_editor
3738

3839
try:
@@ -58,9 +59,10 @@
5859

5960
def _import_markdown2():
6061
try:
61-
import markdown2
6262
import re
6363

64+
import markdown2
65+
6466
# Note: version 2.4.9 does not work with Roundup as it breaks
6567
# [issue1](issue1) formatted links.
6668

@@ -186,7 +188,7 @@ def _extensions(config):
186188
def _import_mistune():
187189
try:
188190
import mistune
189-
from mistune import Renderer, escape_link, escape
191+
from mistune import Renderer, escape, escape_link
190192

191193
mistune._scheme_blacklist = [s + ':' for s in _disable_url_schemes]
192194

0 commit comments

Comments
 (0)