[Python-checkins] peps: try to change rights of peps to rw-rw-r-- (original) (raw)
georg.brandl python-checkins at python.org
Wed Mar 23 21:23:10 CET 2011
- Previous message: [Python-checkins] peps: Add statement that this in the public domain.
- Next message: [Python-checkins] peps: add tentative release schedule and contributor guidelines
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://hg.python.org/peps/rev/faf7c8ee91fe changeset: 42:faf7c8ee91fe user: Peter Schneider-Kamp <nowonder at nowonder.de> date: Tue Jul 25 04:12:28 2000 +0000 summary: try to change rights of peps to rw-rw-r--
files: pep2html.py | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/pep2html.py b/pep2html.py --- a/pep2html.py +++ b/pep2html.py @@ -17,6 +17,9 @@
this doesn't validate -- you cannot use
and inside
tags. but if I change that, the result doesn't look very nice...
+HOST = "shell.sourceforge.net" # host for update +HDIR = "/home/groups/python/htdocs/peps" # target host directory + DTD = ('')
@@ -90,6 +93,8 @@ fo.write("\n") fo.write("\n") fo.write("\n")
- fo.close()
- os.chmod(outfile, 0664)
def main(): @@ -110,8 +115,8 @@ raise "Syntax: "+sys.argv[0]+" [-n] [sf_username]"
if update:
os.system("scp pep-*.html " + username
+ "shell.sourceforge.net:/home/groups/python/htdocs/peps")
os.system("scp pep-*.html " + username + HOST + ":" + HDIR)
os.system("ssh " + username + HOST + " chmod 664 " + HDIR + "/*")
if name == "main":
-- Repository URL: http://hg.python.org/peps
- Previous message: [Python-checkins] peps: Add statement that this in the public domain.
- Next message: [Python-checkins] peps: add tentative release schedule and contributor guidelines
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]