mirror of
https://github.com/samba-team/samba.git
synced 2025-07-21 12:59:09 +03:00
samba-tool: Use self.outf in a few more places.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 05:06:52 CEST 2011 on sn-devel-104
This commit is contained in:
@ -106,10 +106,10 @@ class cmd_testparm(Command):
|
||||
if parameter_name is None:
|
||||
lp[section_name].dump(sys.stdout, lp.default_service, verbose)
|
||||
else:
|
||||
print lp.get(parameter_name, section_name)
|
||||
self.outf.write(lp.get(parameter_name, section_name)+"\n")
|
||||
else:
|
||||
if not suppress_prompt:
|
||||
print "Press enter to see a dump of your service definitions"
|
||||
self.outf.write("Press enter to see a dump of your service definitions\n")
|
||||
sys.stdin.readline()
|
||||
lp.dump(sys.stdout, verbose)
|
||||
if valid:
|
||||
|
Reference in New Issue
Block a user