AdBlockManager: Changed a line of code slightly to make it (hopefully) compatible with Python 3.4.

Sun, 18 Feb 2018 17:43:24 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 18 Feb 2018 17:43:24 +0100
changeset 6160
70441ce79d5a
parent 6159
0c09e32b7121
child 6161
91456f5321b5

AdBlockManager: Changed a line of code slightly to make it (hopefully) compatible with Python 3.4.

WebBrowser/AdBlock/AdBlockManager.py file | annotate | diff | comparison | revisions
--- a/WebBrowser/AdBlock/AdBlockManager.py	Sun Feb 18 13:52:21 2018 +0100
+++ b/WebBrowser/AdBlock/AdBlockManager.py	Sun Feb 18 17:43:24 2018 +0100
@@ -417,11 +417,9 @@
             else:
                 subscriptions.append(self.__customSubscriptionUrlString)
         else:
-            subscriptions = [
-                self.__defaultSubscriptionUrlString,
-                *self.__additionalDefaultSubscriptionUrlStrings,
-                self.__customSubscriptionUrlString,
-            ]
+            subscriptions = [self.__defaultSubscriptionUrlString] + \
+                self.__additionalDefaultSubscriptionUrlStrings + \
+                [self.__customSubscriptionUrlString]
         for subscription in subscriptions:
             url = QUrl.fromEncoded(subscription.encode("utf-8"))
             adBlockSubscription = AdBlockSubscription(

eric ide

mercurial