summaryrefslogtreecommitdiff
path: root/loader/lib/varnish.py
diff options
context:
space:
mode:
authorMagnus Hagander2019-01-03 20:52:58 +0000
committerMagnus Hagander2019-01-04 11:24:06 +0000
commit69af766f8fae8ef489d951c71a37966fc51d736b (patch)
tree1e394a959d7ec9b49797b6cb74ec2eac5dbd47e8 /loader/lib/varnish.py
parent1e165224612094e7605d9109e70a3034a0f5a864 (diff)
Whitespace fixes
Diffstat (limited to 'loader/lib/varnish.py')
-rw-r--r--loader/lib/varnish.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/lib/varnish.py b/loader/lib/varnish.py
index 99d2d50..2b2bf89 100644
--- a/loader/lib/varnish.py
+++ b/loader/lib/varnish.py
@@ -2,6 +2,7 @@ import requests
from lib.log import log
+
class VarnishPurger(object):
def __init__(self, cfg):
self.cfg = cfg
@@ -30,4 +31,3 @@ class VarnishPurger(object):
})
if r.status_code != 200:
log.error("Failed to send purge request!")
-