--- a/src/catedit/tasks.py Wed Apr 15 03:58:20 2015 +0200
+++ b/src/catedit/tasks.py Wed Apr 15 04:04:03 2015 +0200
@@ -26,9 +26,9 @@
modified_cat_dict=modified_categories,
message=message
)
- #registry_key = "categories_"+repository+"_keys"
- #r = requests.post(app.config['BASE_URL']+"/meta/cache-clear/"+registry_key)
- r = requests.post(app.config['BASE_URL']+"/meta/cache-clear")
+ registry_key = "categories_"+repository+"_keys"
+ r = requests.post(app.config['BASE_URL']+"/meta/cache-clear/"+registry_key)
+ #r = requests.post(app.config['BASE_URL']+"/meta/cache-clear")
try:
r.raise_for_status()
except: