From 1d71f20f8dd5365c43ccffe1ec740d2efa56b886 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 8 Oct 2008 15:40:34 +0000 Subject: Simplify GetDecisionLisk command git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4930 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2 index a151b9fd8..abcf2ec49 100755 --- a/src/sbin/bcfg2 +++ b/src/sbin/bcfg2 @@ -259,7 +259,8 @@ class Client: if self.setup['decision'] in ['whitelist', 'blacklist']: try: - self.setup['decision_list'] = proxy.GetDecisionList() + self.setup['decision_list'] = proxy.GetDecisionList( \ + self.setup['decision']) except xmlrpclib.Fault, f: if f.faultCode == 1: print "GetDecisionList method not supported by server" -- cgit v1.2.3-1-g7c22