Helpviewer/CookieJar/CookieJar.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3035
36e9f388958b
child 3145
a9de05d4a22f
diff -r 0a02c433f52d -r 5883ce99ee12 Helpviewer/CookieJar/CookieJar.py
--- a/Helpviewer/CookieJar/CookieJar.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/Helpviewer/CookieJar/CookieJar.py	Sun Nov 03 15:58:22 2013 +0100
@@ -245,11 +245,11 @@
         host = url.host()
         eBlock = self.__isOnDomainList(self.__exceptionsBlock, host)
         eAllow = not eBlock and \
-                 self.__isOnDomainList(self.__exceptionsAllow, host)
+            self.__isOnDomainList(self.__exceptionsAllow, host)
         eAllowSession = not eBlock and \
-                        not eAllow and \
-                        self.__isOnDomainList(
-                            self.__exceptionsAllowForSession, host)
+            not eAllow and \
+            self.__isOnDomainList(
+                self.__exceptionsAllowForSession, host)
         
         addedCookies = False
         acceptInitially = self.__acceptCookies != self.AcceptNever
@@ -260,7 +260,7 @@
             soon = soon.addDays(90)
             for cookie in cookieList:
                 lst = []
-                if not (self.__filterTrackingCookies and \
+                if not (self.__filterTrackingCookies and
                         cookie.name().startsWith("__utm")):
                     if eAllowSession:
                         cookie.setExpirationDate(QDateTime())

eric ide

mercurial