projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid syntax error when importing leaf servers from an old config.
[ircu2.10.12-pk.git]
/
tools
/
convert-conf.py
diff --git
a/tools/convert-conf.py
b/tools/convert-conf.py
index 825b03f348312305c5de23ab1d09116a28e203cd..e91aa3df7883ae49da9e9d34e05d03aade184778 100755
(executable)
--- a/
tools/convert-conf.py
+++ b/
tools/convert-conf.py
@@
-22,7
+22,7
@@
# Usage:
# convert-conf.py < old.conf > new.conf
#
# Usage:
# convert-conf.py < old.conf > new.conf
#
-# $Id: convert-conf.py,v 1.
2 2005-02-19 21:50:48 isomer
Exp $
+# $Id: convert-conf.py,v 1.
3 2005-03-19 23:04:07 entrope
Exp $
#
import sys
#
import sys
@@
-249,7
+249,7
@@
if len(connects.keys()):
if connects[i].has_key("hub"):
print "\thub = \"%s\";" % qstr(connects[i]["hub"])
else:
if connects[i].has_key("hub"):
print "\thub = \"%s\";" % qstr(connects[i]["hub"])
else:
- print "\tleaf
= \"yes\"
;"
+ print "\tleaf;"
print "};"
print
print "};"
print