On Fri, Apr 29, 2011 at 03:46:07PM +0800, kirsten wrote:
> "slave2" is a hostname defined in /etc/hosts, will that be a problem?

Ok, then it's supposed to be a string, and you need to quote it:

-    def ip(self, sourceip=slave2):
+    def ip(self, sourceip="slave2"):

-    def ipreset(self, sourceip=slave2):
+    def ipreset(self, sourceip="slave2"):


  -jf
_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list

Reply via email to