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