Revision f4bc1f2c tools/cfgupgrade
b/tools/cfgupgrade | ||
---|---|---|
173 | 173 |
parser = optparse.OptionParser() |
174 | 174 |
parser.add_option('--dry-run', dest='dry_run', |
175 | 175 |
action="store_true", |
176 |
help="Try to do the conversion, but don't write "
|
|
177 |
"output file")
|
|
176 |
help="Try to do the conversion, but don't write" |
|
177 |
" output file")
|
|
178 | 178 |
parser.add_option(FORCE_OPT) |
179 | 179 |
parser.add_option('--verbose', dest='verbose', |
180 | 180 |
action="store_true", |
... | ... | |
188 | 188 |
raise Error("Configuration file not specified") |
189 | 189 |
|
190 | 190 |
if not options.force: |
191 |
usertext = ("%s MUST run on the master node. Is this the master "
|
|
192 |
"node?" % program) |
|
191 |
usertext = ("%s MUST run on the master node. Is this the master" |
|
192 |
" node?" % program)
|
|
193 | 193 |
if not AskUser(usertext): |
194 | 194 |
sys.exit(1) |
195 | 195 |
|
Also available in: Unified diff