Mercurial > libervia-backend
diff src/plugins/plugin_xep_0065.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 | 49587e170f53 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0065.py Sun Sep 08 19:13:02 2013 +0200 +++ b/src/plugins/plugin_xep_0065.py Thu Sep 05 20:57:00 2013 +0200 @@ -503,7 +503,8 @@ def _timeOut(self, sid, profile): """Delecte current_stream id, called after timeout @param id: id of client.xep_0065_current_stream""" - info(_("Socks5 Bytestream: TimeOut reached for id %s [%s]") % (sid, profile)) + info(_("Socks5 Bytestream: TimeOut reached for id %(sid)s [%(profile)s]") + % {"sid": sid, "profile": profile}) self._killId(sid, False, "TIMEOUT", profile) def _killId(self, sid, success=False, failure_reason="UNKNOWN", profile=None):