misc: a few "cosmetic" changes (PEP 8...)

This commit is contained in:
souliane 2013-09-05 20:57:00 +02:00
commit f9bd9dd9b2

View file

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