/[shmookey]/portconf/index.py


UCC Code Repository

Diff of /portconf/index.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 112 by shmookey, Wed May 28 08:40:26 2008 UTC revision 113 by shmookey, Wed May 28 09:44:41 2008 UTC
# Line 22  except: Line 22  except:
22  import cgi, cgitb  import cgi, cgitb
23  cgitb.enable ()  cgitb.enable ()
24    
   
25  form = cgi.FieldStorage ()  form = cgi.FieldStorage ()
26    
27    cookieExpiry = time.gmtime(time.time())
28    if cookieExpiry[3] == 23: cookieExpiry[3] = 0
29    else: cookieExpiry[3] += 1
30    cookie = Cooke.Cookie (os.environ.get("HTTP_COOKIE", ""))
31    
32  defaultCursor = None  defaultCursor = None
33  def GetDefaultCursor ():  def GetDefaultCursor ():
34          global defaultCursor          global defaultCursor

Legend:
Removed from v.112  
changed lines
  Added in v.113

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26