Minor fix in query.py
authorDimitris Aragiorgis <dimara@grnet.gr>
Tue, 30 Oct 2012 01:31:02 +0000 (03:31 +0200)
committerIustin Pop <iustin@google.com>
Tue, 20 Nov 2012 17:51:37 +0000 (18:51 +0100)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/query.py

index 01a2a75..9ffe794 100644 (file)
@@ -2518,7 +2518,7 @@ def _GetNetworkStatsField(field, kind, ctx):
     return int(value)
   except (ValueError, TypeError):
     logging.exception("Failed to convert network field '%s' (value %r) to int",
-                      value, field)
+                      field, value)
     return _FS_UNAVAIL