misc: a few "cosmetic" changes (PEP 8...)
This commit is contained in:
parent
41375e7bde
commit
f9bd9dd9b2
1 changed files with 15 additions and 11 deletions
|
|
@ -295,7 +295,8 @@ class XEP_0096(object):
|
|||
return sid
|
||||
|
||||
def sendSuccessCb(self, sid, file_obj, stream_method, profile):
|
||||
info(_('Transfer %s successfuly finished [%s]') % (sid, profile))
|
||||
info(_('Transfer %(sid)s successfuly finished [%(profile)s]')
|
||||
% {"sid": sid, "profile": profile})
|
||||
file_obj.close()
|
||||
|
||||
def sendFailureCb(self, sid, file_obj, stream_method, reason, profile):
|
||||
|
|
|
|||
Loading…
Reference in a new issue