164 |
164 |
165 return self.__subscriptions[:] |
165 return self.__subscriptions[:] |
166 |
166 |
167 def subscription(self, location): |
167 def subscription(self, location): |
168 """ |
168 """ |
169 Public method to get a subscription based on it's location. |
169 Public method to get a subscription based on its location. |
170 |
170 |
171 @param location location of the subscription to search for (string) |
171 @param location location of the subscription to search for (string) |
172 @return subscription or None (AdBlockSubscription) |
172 @return subscription or None (AdBlockSubscription) |
173 """ |
173 """ |
174 if location != "": |
174 if location != "": |