summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorRick Bradshow <bradshaw@mcs.anl.gov>2007-09-06 18:55:34 +0000
committerRick Bradshow <bradshaw@mcs.anl.gov>2007-09-06 18:55:34 +0000
commit466eaa2b99da6ff8cfd0900a0ffde3b9270b0d92 (patch)
treebe508b1b5a4530a33113736c6104564b94bf5bf8 /src/lib
parenta2eefb9e311297bb43b694c1157cc7c4998226fc (diff)
downloadbcfg2-466eaa2b99da6ff8cfd0900a0ffde3b9270b0d92.tar.gz
bcfg2-466eaa2b99da6ff8cfd0900a0ffde3b9270b0d92.tar.bz2
bcfg2-466eaa2b99da6ff8cfd0900a0ffde3b9270b0d92.zip
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Proxy.py2
1 files changed, 1 insertions, 1 deletions
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)',