Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf-test.git/shortlog/1d97667d97e9558c0647e2c55306d627d5c38ea1
...commit 
http://git.netsurf-browser.org/netsurf-test.git/commit/1d97667d97e9558c0647e2c55306d627d5c38ea1
...tree 
http://git.netsurf-browser.org/netsurf-test.git/tree/1d97667d97e9558c0647e2c55306d627d5c38ea1

The branch, master has been updated
       via  1d97667d97e9558c0647e2c55306d627d5c38ea1 (commit)
      from  cc544429e0cacd2c039c643ed55f07967a96c53c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf-test.git/commit/?id=1d97667d97e9558c0647e2c55306d627d5c38ea1
commit 1d97667d97e9558c0647e2c55306d627d5c38ea1
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    cookies.cgi: Older python needs older syntax
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/cgi-bin/cookies.cgi b/cgi-bin/cookies.cgi
index 3a701aa..2e634d3 100755
--- a/cgi-bin/cookies.cgi
+++ b/cgi-bin/cookies.cgi
@@ -14,7 +14,7 @@ print("")
 
 cookies = {}
 
-if os.environ.has_key('HTTP_COOKIE'):
+if "HTTP_COOKIE" in os.environ:
    for cookie in map(str.strip, str.split(os.environ['HTTP_COOKIE'], ';')):
       (key, value) = cookie.split('=')
       cookies[key] = value


-----------------------------------------------------------------------

Summary of changes:
 cgi-bin/cookies.cgi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cgi-bin/cookies.cgi b/cgi-bin/cookies.cgi
index 3a701aa..2e634d3 100755
--- a/cgi-bin/cookies.cgi
+++ b/cgi-bin/cookies.cgi
@@ -14,7 +14,7 @@ print("")
 
 cookies = {}
 
-if os.environ.has_key('HTTP_COOKIE'):
+if "HTTP_COOKIE" in os.environ:
    for cookie in map(str.strip, str.split(os.environ['HTTP_COOKIE'], ';')):
       (key, value) = cookie.split('=')
       cookies[key] = value


-- 
NetSurf test cases

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to