From: Guido van Rossum Date: Fri, 23 May 1997 22:29:24 +0000 (+0000) Subject: Implemented a simple Password scheme. X-Git-Tag: v1.5a3~449 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a78a3c30dd88fe76dd1554b69e60438fd63ed9cd;p=python Implemented a simple Password scheme. Added a Help link to the FAQ Edit Wizard. --- diff --git a/Tools/faqwiz/faqmain.py b/Tools/faqwiz/faqmain.py index a8e85bc9f2..96c9dbc43a 100644 --- a/Tools/faqwiz/faqmain.py +++ b/Tools/faqwiz/faqmain.py @@ -44,6 +44,8 @@ XXX Code organization TO DO # NB for timing purposes, the imports are at the end of this file +PASSWORD = "Spam" + NAMEPAT = "faq??.???.htp" NAMEREG = "^faq\([0-9][0-9]\)\.\([0-9][0-9][0-9]\)\.htp$" @@ -75,7 +77,7 @@ class FAQServer: KEYS = ['req', 'query', 'name', 'text', 'commit', 'title', 'author', 'email', 'log', 'section', 'number', 'add', - 'version', 'edit'] + 'version', 'edit', 'password'] def __getattr__(self, key): if key not in self.KEYS: @@ -94,7 +96,7 @@ class FAQServer: return value def do_frontpage(self): - self.prologue("Python FAQ (alpha) Front Page") + self.prologue("Python FAQ (beta test) Front Page") print """