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