diff src/plugins/plugin_xep_0096.py @ 638:6821fc06a324

misc: a few "cosmetic" changes (PEP 8...)
author souliane <souliane@mailoo.org>
date Thu, 05 Sep 2013 20:57:00 +0200
parents 84a6e83157c2
children 0077912bc9ba
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0096.py	Sun Sep 08 19:13:02 2013 +0200
+++ b/src/plugins/plugin_xep_0096.py	Thu Sep 05 20:57:00 2013 +0200
@@ -295,7 +295,8 @@
         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):