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