From cfcea7efc17611a3d65e9b1d07d4ecae12e83f26 Mon Sep 17 00:00:00 2001
From: Dimitris Aragiorgis <dimara@grnet.gr>
Date: Tue, 30 Oct 2012 03:31:02 +0200
Subject: [PATCH] Minor fix in query.py

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 lib/query.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/query.py b/lib/query.py
index 01a2a75de..9ffe794ec 100644
--- a/lib/query.py
+++ b/lib/query.py
@@ -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
 
 
-- 
GitLab