Skip to content

Commit

Permalink
- whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jamur2 committed Jan 9, 2012
1 parent 3067786 commit 8d304c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/zope/publisher/http.py
Expand Up @@ -168,15 +168,15 @@ def _BaseCookie__ParseString(self, str, patt=Cookie._CookiePattern):
i = 0 # Our starting point
n = len(str) # Length of string
M = None # current morsel

while 0 <= i < n:
# Start looking for a cookie
match = patt.search(str, i)
if not match: break # No more cookies

K,V = match.group("key"), match.group("val")
i = match.end(0)

# Parse the key, value in case it's metainfo
if K[0] == "$":
# We ignore attributes which pertain to the cookie
Expand All @@ -187,7 +187,7 @@ def _BaseCookie__ParseString(self, str, patt=Cookie._CookiePattern):
M[ K[1:] ] = V
except Cookie.CookieError:
# We don't care.
pass
pass
elif K.lower() in Cookie.Morsel._reserved:
if M:
M[ K ] = Cookie._unquote(V)
Expand All @@ -198,7 +198,7 @@ def _BaseCookie__ParseString(self, str, patt=Cookie._CookiePattern):
M = self[K]
except Cookie.CookieError, e:
eventlog.warning(e)


class URLGetter(object):

Expand Down

0 comments on commit 8d304c9

Please sign in to comment.