From: Faiyaz Ahmed Date: Tue, 1 Apr 2008 21:39:50 +0000 (+0000) Subject: Syntax error when writing config file X-Git-Tag: NodeManager-1.7-4~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=279cd293575e6561dac55a719555b0c38b1ed4cb;p=nodemanager.git Syntax error when writing config file --- diff --git a/codemux.py b/codemux.py index a345a48..1af0452 100644 --- a/codemux.py +++ b/codemux.py @@ -76,7 +76,7 @@ def writeConf(slivers, conf = CODEMUXCONF): '''Write conf with default entry up top. Write lower order domain names first. Restart service.''' f = open(conf, "w") # This needs to be the first entry... - f.write("* root %s\n", Config().PLC_PLANETFLOW_HOST) + f.write("* root %s\n" % Config().PLC_PLANETFLOW_HOST) # Sort items for like domains for slice in sortDomains(slivers): if slice == "root": continue