From c4d2f360bf6d0c8429e1bd613debac2bb3f62171 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Wed, 24 Jul 2013 23:00:21 -0400 Subject: Make tags a regular argument --- store.py | 2 +- tasks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/store.py b/store.py index e1e9f55..9fa8e9e 100644 --- a/store.py +++ b/store.py @@ -2318,7 +2318,7 @@ class Store: self.config.fastly_api_domain, self.config.fastly_api_key, self.config.fastly_service_id, - *tags + tags, ) # Empty our changed packages diff --git a/tasks.py b/tasks.py index dab4427..4ca2406 100644 --- a/tasks.py +++ b/tasks.py @@ -3,7 +3,7 @@ import urlparse import requests -def purge_fastly_tags(domain, api_key, service_id, *tags, max_tries=25): +def purge_fastly_tags(domain, api_key, service_id, tags, max_tries=25): session = requests.session() headers = {"X-Fastly-Key": api_key, "Accept": "application/json"} -- cgit v1.2.1