community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1651891 - /comdev/projects.apache.org/site/edit/index.py
Date Wed, 14 Jan 2015 23:42:35 GMT
Author: humbedooh
Date: Wed Jan 14 23:42:35 2015
New Revision: 1651891

URL: http://svn.apache.org/r1651891
Log:
add shebang, clean up imports

Modified:
    comdev/projects.apache.org/site/edit/index.py

Modified: comdev/projects.apache.org/site/edit/index.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/edit/index.py?rev=1651891&r1=1651890&r2=1651891&view=diff
==============================================================================
--- comdev/projects.apache.org/site/edit/index.py (original)
+++ comdev/projects.apache.org/site/edit/index.py Wed Jan 14 23:42:35 2015
@@ -1,4 +1,5 @@
-import subprocess, re, os, time, sys, cgi
+#!/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 ""



Mime
View raw message