diff options
author | Ask Solem <ask@celeryproject.org> | 2013-01-17 13:50:01 +0000 |
---|---|---|
committer | Ask Solem <ask@celeryproject.org> | 2013-01-17 13:50:01 +0000 |
commit | dd0fe3a3a6a1bb50209e697d7bef91473661bee2 (patch) | |
tree | 051c6aca716911da80a482049aad4373c049c222 /docs | |
parent | 02cd13bc9eec102bf0752a9e4ab3fe7cae078cd8 (diff) | |
download | kombu-dd0fe3a3a6a1bb50209e697d7bef91473661bee2.tar.gz |
More pep8ify
Diffstat (limited to 'docs')
-rw-r--r-- | docs/_ext/applyxrefs.py | 4 | ||||
-rw-r--r-- | docs/_ext/literals_to_xrefs.py | 6 | ||||
-rw-r--r-- | docs/conf.py | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/_ext/applyxrefs.py b/docs/_ext/applyxrefs.py index 027490b8..93222a33 100644 --- a/docs/_ext/applyxrefs.py +++ b/docs/_ext/applyxrefs.py @@ -5,9 +5,7 @@ import os testing = False -DONT_TOUCH = ( - './index.txt', - ) +DONT_TOUCH = ('./index.txt', ) def target_name(fn): diff --git a/docs/_ext/literals_to_xrefs.py b/docs/_ext/literals_to_xrefs.py index e9dc7ca0..f1497565 100644 --- a/docs/_ext/literals_to_xrefs.py +++ b/docs/_ext/literals_to_xrefs.py @@ -95,8 +95,10 @@ def fixliterals(fname): replace_type in ("class", "func", "meth"): default = default[:-2] replace_value = raw_input( - colorize("Text <target> [", fg="yellow") + default + \ - colorize("]: ", fg="yellow")).strip() + colorize("Text <target> [", fg="yellow") + + default + + colorize("]: ", fg="yellow"), + ).strip() if not replace_value: replace_value = default new.append(":%s:`%s`" % (replace_type, replace_value)) diff --git a/docs/conf.py b/docs/conf.py index 27534746..bf39ded2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -62,8 +62,8 @@ html_use_modindex = True html_use_index = True latex_documents = [ - ('index', 'Kombu.tex', ur'Kombu Documentation', - ur'Ask Solem', 'manual'), + ('index', 'Kombu.tex', u'Kombu Documentation', + u'Ask Solem', 'manual'), ] html_theme = "celery" |