summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-07-24 23:00:21 -0400
committerDonald Stufft <donald@stufft.io>2013-07-24 23:00:21 -0400
commitc4d2f360bf6d0c8429e1bd613debac2bb3f62171 (patch)
tree1afb908f37df4e40be6c80822ab79fb86eecc76b
parentf447d900b0173131eb4637b97f93070afffe783e (diff)
downloaddecorator-c4d2f360bf6d0c8429e1bd613debac2bb3f62171.tar.gz
Make tags a regular argument
-rw-r--r--store.py2
-rw-r--r--tasks.py2
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"}