Merge "Clean up formatting in dplcommon.py"
This commit is contained in:
commit
ebd8df7bcc
|
@ -88,7 +88,7 @@ class DPLCommand(object):
|
||||||
# base64 encode the username and password
|
# base64 encode the username and password
|
||||||
auth = base64.encodebytes('%s:%s'
|
auth = base64.encodebytes('%s:%s'
|
||||||
% (self.username,
|
% (self.username,
|
||||||
self.password)).replace('\n', '')
|
self.password)).replace('\n', '')
|
||||||
header['Authorization'] = 'Basic %s' % auth
|
header['Authorization'] = 'Basic %s' % auth
|
||||||
|
|
||||||
if not params:
|
if not params:
|
||||||
|
|
Loading…
Reference in New Issue