From 182b5aca27d376b08a2904bed42b751496f932f3 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 18 Jul 2004 06:16:08 +0000 Subject: Whitespace normalization, via reindent.py. --- Tools/faqwiz/faqwiz.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Tools/faqwiz/faqwiz.py') diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index a44da12e86b..00cc65c472e 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) -- cgit v1.2.3