blind review on list-operations added by 2to3:
[nepi.git] / src / nepi / resources / linux / scripts / tunchannel.py
index 11c68af..cca5205 100644 (file)
@@ -37,8 +37,7 @@ import ctypes
 import time
 
 def ipfmt(ip):
-    ipbytes = list(map(ord,ip.decode("hex")))
-    return '.'.join(map(str,ipbytes))
+    return '.'.join(str(ord(x)) for x in ip.decode("hex"))
 
 tagtype = {
     '0806' : 'arp',