[Checkins] SVN: Zope/trunk/src/Products/Sessions/BrowserIdManager.py whitespace cleanup

Andreas Jung andreas at andreas-jung.com
Mon May 11 06:48:10 EDT 2009


Log message for revision 99841:
  whitespace cleanup
  

Changed:
  U   Zope/trunk/src/Products/Sessions/BrowserIdManager.py

-=-
Modified: Zope/trunk/src/Products/Sessions/BrowserIdManager.py
===================================================================
--- Zope/trunk/src/Products/Sessions/BrowserIdManager.py	2009-05-11 09:46:04 UTC (rev 99840)
+++ Zope/trunk/src/Products/Sessions/BrowserIdManager.py	2009-05-11 10:48:10 UTC (rev 99841)
@@ -332,7 +332,7 @@
         if not (type(path) is type('') and not badcookiecharsin(path)):
             raise BrowserIdManagerErr,'Bad cookie path %s' % escape(repr(path))
         self.cookie_path = path
-    
+
     security.declareProtected(ACCESS_CONTENTS_PERM, 'getCookiePath')
     def getCookiePath(self):
         """ """
@@ -437,7 +437,7 @@
             expires = now() + self.cookie_life_days * 86400
             # Wdy, DD-Mon-YYYY HH:MM:SS GMT
             expires = strftime('%a %d-%b-%Y %H:%M:%S GMT',gmtime(expires))
-        
+
         # cookie attributes managed by BrowserIdManager
         d = {'domain':self.cookie_domain,'path':self.cookie_path,
              'secure':self.cookie_secure,'http_only': self.cookie_http_only,
@@ -449,14 +449,14 @@
                 return # should we raise an exception?
             if string.split(URL1,':')[0] != 'https':
                 return # should we raise an exception?
-         
+
         cookies = REQUEST.RESPONSE.cookies
         cookie = cookies[self.browserid_name]= {}
         for k,v in d.items():
             if v:
                 cookie[k] = v #only stuff things with true values
         cookie['value'] = bid
-        
+
     def _setId(self, id):
         if id != self.id:
             raise MessageDialog(
@@ -487,7 +487,7 @@
     def hasTraversalHook(self, parent):
         name = TRAVERSAL_APPHANDLE
         return not not queryBeforeTraverse(parent, name)
-                       
+
 class BrowserIdManagerTraverser(Persistent):
     def __call__(self, container, request, browser_id=None,
                  browser_id_ns=None,



More information about the Checkins mailing list