From 83a14695b189c6b2e8cd646004e5778abe8b4554 Mon Sep 17 00:00:00 2001
From: Helga Velroyen <helgav@google.com>
Date: Tue, 27 Nov 2012 18:33:40 +0100
Subject: [PATCH] Fix network query for extra stats fields

Extend _GetNetworkStatsField() to accept 4 arguments.
This fixes Issue 323.

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

diff --git a/lib/query.py b/lib/query.py
index a3e5224b8..7efdaa4ec 100644
--- a/lib/query.py
+++ b/lib/query.py
@@ -2496,7 +2496,7 @@ _NETWORK_STATS_FIELDS = {
   }
 
 
-def _GetNetworkStatsField(field, kind, ctx):
+def _GetNetworkStatsField(field, kind, ctx, _):
   """Gets the value of a "stats" field from L{NetworkQueryData}.
 
   @param field: Field name
-- 
GitLab