mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Whitespace normalization, via reindent.py.
This commit is contained in:
parent
e6ddc8b20b
commit
182b5aca27
453 changed files with 31318 additions and 31452 deletions
|
@ -30,11 +30,11 @@ MAXHITS = 10 # Max #hits to be shown directly
|
|||
COOKIE_LIFETIME = 28*24*3600 # Cookie expiration in seconds
|
||||
# (28*24*3600 = 28 days = 4 weeks)
|
||||
PROCESS_PREFORMAT = 1 # toggle whether preformatted text
|
||||
# will replace urls and emails with
|
||||
# will replace urls and emails with
|
||||
# HTML links
|
||||
|
||||
# Markers appended to title to indicate recently change
|
||||
# (may contain HTML, e.g. <IMG>); and corresponding
|
||||
# (may contain HTML, e.g. <IMG>); and corresponding
|
||||
|
||||
MARK_VERY_RECENT = " **" # Changed very recently
|
||||
MARK_RECENT = " *" # Changed recently
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue