diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 (GMT) |
commit | 182b5aca27d376b08a2904bed42b751496f932f3 (patch) | |
tree | df13115820dbc879c0fe2eae488c9f8c0215a7da /Tools/faqwiz/faqwiz.py | |
parent | e6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff) | |
download | cpython-182b5aca27d376b08a2904bed42b751496f932f3.zip cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.bz2 |
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Tools/faqwiz/faqwiz.py')
-rw-r--r-- | Tools/faqwiz/faqwiz.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index a44da12..00cc65c 100644 --- a/Tools/faqwiz/faqwiz.py +++ b/Tools/faqwiz/faqwiz.py @@ -583,7 +583,7 @@ class FaqWizard: def do_roulette(self): import random files = self.dir.list() - if not files: + if not files: self.error("No entries.") return file = random.choice(files) @@ -732,7 +732,7 @@ class FaqWizard: emit(VERSIONCONFLICT, entry, self.ui) return commit_ok = ((not PASSWORD - or self.ui.password == PASSWORD) + or self.ui.password == PASSWORD) and self.ui.author and '@' in self.ui.email and self.ui.log) @@ -820,7 +820,7 @@ class FaqWizard: log("output: " + output) log("done: " + str(sts)) log("TempFile:\n" + tf.read() + "end") - + if not sts: self.prologue(T_COMMITTED) emit(COMMITTED) |