]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blobdiff - modules/cmds.py
more python3 readiness
[projects/pld-ftp-admin.git] / modules / cmds.py
index 192dbf672ea73af9acc1c3d692405e28223c7375..6a71c13436e771838501f5d4bab3ccf1ab61097f 100644 (file)
@@ -61,7 +61,7 @@ def cmd_show_locks(con):
     cmd_log(con, "Dumping locks data:");
     if len(locks):
         res = ""
-        for lockdata in locks.iteritems():
+        for lockdata in locks.items():
             tree, data = lockdata
             msg = "Tree: %s, Conn name: %s, Hard Lock: %s, Time: %s" % (
                     tree, data['name'], data['hard'], time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(data['time'])))
This page took 0.086366 seconds and 4 git commands to generate.