community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1651894 - in /comdev/projects.apache.org/site/edit: index.py save.py
Date Wed, 14 Jan 2015 23:46:16 GMT
Author: humbedooh
Date: Wed Jan 14 23:46:16 2015
New Revision: 1651894

URL: http://svn.apache.org/r1651894
Log:
props

Modified:
    comdev/projects.apache.org/site/edit/index.py   (contents, props changed)
    comdev/projects.apache.org/site/edit/save.py   (props changed)

Modified: comdev/projects.apache.org/site/edit/index.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/edit/index.py?rev=1651894&r1=1651893&r2=1651894&view=diff
==============================================================================
--- comdev/projects.apache.org/site/edit/index.py (original)
+++ comdev/projects.apache.org/site/edit/index.py Wed Jan 14 23:46:16 2015
@@ -1,17 +1,17 @@
-#!/usr/bin/env python
-import os, re
-print ("Content-Type: text/html\r\n\r\n")
-
-user = os.environ['HTTP_X_AUTHENTICATED_USER'] if 'HTTP_X_AUTHENTICATED_USER' in os.environ
else ""
-m = re.match(r"^([-a-zA-Z0-9_.]+)$", user)
-groups = []
-if m:
-    uid = m.group(1)
-    with open("index.html", "r") as f:
-        data = f.read()
-        f.close()
-        print(data.replace("%name%", uid))
-              
-else:
-    print("Unknown or invalid user id presented")
-        
+#!/usr/bin/env python
+import os, re
+print ("Content-Type: text/html\r\n\r\n")
+
+user = os.environ['HTTP_X_AUTHENTICATED_USER'] if 'HTTP_X_AUTHENTICATED_USER' in os.environ
else ""
+m = re.match(r"^([-a-zA-Z0-9_.]+)$", user)
+groups = []
+if m:
+    uid = m.group(1)
+    with open("index.html", "r") as f:
+        data = f.read()
+        f.close()
+        print(data.replace("%name%", uid))
+              
+else:
+    print("Unknown or invalid user id presented")
+        

Propchange: comdev/projects.apache.org/site/edit/index.py
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: comdev/projects.apache.org/site/edit/index.py
------------------------------------------------------------------------------
    svn:executable = *

Propchange: comdev/projects.apache.org/site/edit/save.py
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: comdev/projects.apache.org/site/edit/save.py
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message