From 466eaa2b99da6ff8cfd0900a0ffde3b9270b0d92 Mon Sep 17 00:00:00 2001 From: Rick Bradshow Date: Thu, 6 Sep 2007 18:55:34 +0000 Subject: fixed a type mismatch on line 183 url=None was failing when the proxy would init cause it was expecting url={}. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3668 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Client/Proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/Client/Proxy.py b/src/lib/Client/Proxy.py index 051494f32..b6dbbe2eb 100644 --- a/src/lib/Client/Proxy.py +++ b/src/lib/Client/Proxy.py @@ -179,7 +179,7 @@ class ComponentProxy(SafeProxy): name = 'dummy' methods = [] - def __init__(self, url=None): + def __init__(self, url={}): SafeProxy.__init__(self, self.name, url) for method in self.methods: setattr(self, method, eval('lambda *x:self.run_method(method, x)', -- cgit v1.2.3-1-g7c22