mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix line length
This commit is contained in:
parent
ec5a5e739b
commit
6af81b8506
@ -128,6 +128,7 @@ def make_filename(string):
|
||||
if sys.version_info < (3, 0):
|
||||
def ustrftime(format, *args):
|
||||
# strftime for unicode strings
|
||||
return time.strftime(unicode(format).encode('utf-8'), *args).decode('utf-8')
|
||||
return time.strftime(unicode(format).encode('utf-8'), *args) \
|
||||
.decode('utf-8')
|
||||
else:
|
||||
ustrftime = time.strftime
|
||||
|
Loading…
Reference in New Issue
Block a user