Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor PEP-8 tweaks

  • Loading branch information...
commit 15f1236b70f09c90ca54637b446e402c1e174577 1 parent e95a6b6
@acdha acdha authored committed
Showing with 8 additions and 8 deletions.
  1. +8 −8 django_akamai/purge.py
View
16 django_akamai/purge.py
@@ -77,9 +77,8 @@ def __init__(self, username=None, password=None,
"""
self.wsdl = wsdl
if not self.wsdl:
- self.wsdl =\
- os.path.join(os.path.split(os.path.abspath(__file__))[0],
- 'ccuapi-axis.wsdl')
+ self.wsdl = os.path.join(os.path.dirname(os.path.abspath(__file__)),
+ 'ccuapi-axis.wsdl')
self.client = Client("file://%s" % self.wsdl)
self.username = username
if not username:
@@ -185,9 +184,10 @@ def convert_options(self):
@classmethod
def default_options(self):
- email_notify_addr =\
- getattr(settings, 'AKAMAI_CCUAPI_NOTIFICATION_EMAIL', '')
+ email_notify_addr = getattr(settings,
+ 'AKAMAI_CCUAPI_NOTIFICATION_EMAIL', '')
+
return {"email-notification-name": email_notify_addr,
- "action": "remove", # or 'invalidate'
- "type": "arl", # or 'cpcode'
- "domain": "production"} # or 'staging'
+ "action": "remove", # or 'invalidate'
+ "type": "arl", # or 'cpcode'
+ "domain": "production"} # or 'staging'
Please sign in to comment.
Something went wrong with that request. Please try again.