connectors/PYRO/__init__.py
changeset 1581 2295fdc5c271
parent 1571 486f94a8032c
child 1595 b3cc68dd037d
--- a/connectors/PYRO/__init__.py	Mon Nov 28 16:27:24 2016 +0300
+++ b/connectors/PYRO/__init__.py	Mon Nov 28 16:47:01 2016 +0300
@@ -87,7 +87,7 @@
             ip = str(socket.inet_ntoa(i.getAddress()))
             port = str(i.getPort())
             newlocation = ip + ':' + port
-            confnodesroot.logger.write(_("'%s' is located at %s\n") % (location, newlocation))
+            confnodesroot.logger.write(_("'{a1}' is located at {a2}\n").format(a1 = location, a2 = newlocation))
             location = newlocation
             r.close()
         except Exception, msg: