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/_ext | |
| parent | 02cd13bc9eec102bf0752a9e4ab3fe7cae078cd8 (diff) | |
| download | kombu-dd0fe3a3a6a1bb50209e697d7bef91473661bee2.tar.gz | |
More pep8ify
Diffstat (limited to 'docs/_ext')
| -rw-r--r-- | docs/_ext/applyxrefs.py | 4 | ||||
| -rw-r--r-- | docs/_ext/literals_to_xrefs.py | 6 |
2 files changed, 5 insertions, 5 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)) |
