259 soon = QDateTime.currentDateTime() |
259 soon = QDateTime.currentDateTime() |
260 soon = soon.addDays(90) |
260 soon = soon.addDays(90) |
261 for cookie in cookieList: |
261 for cookie in cookieList: |
262 lst = [] |
262 lst = [] |
263 if not (self.__filterTrackingCookies and |
263 if not (self.__filterTrackingCookies and |
264 cookie.name().startsWith("__utm")): |
264 cookie.name().startsWith(b"__utm")): |
265 if eAllowSession: |
265 if eAllowSession: |
266 cookie.setExpirationDate(QDateTime()) |
266 cookie.setExpirationDate(QDateTime()) |
267 if self.__keepCookies == self.KeepUntilTimeLimit and \ |
267 if self.__keepCookies == self.KeepUntilTimeLimit and \ |
268 not cookie.isSessionCookie and \ |
268 not cookie.isSessionCookie and \ |
269 cookie.expirationDate() > soon: |
269 cookie.expirationDate() > soon: |