Merge "Clean up formatting in dplcommon.py"

This commit is contained in:
Zuul 2022-09-25 07:23:54 +00:00 committed by Gerrit Code Review
commit ebd8df7bcc
1 changed files with 1 additions and 1 deletions

View File

@ -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: