1
0
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:
Jelmer Vernooij
2011-10-13 00:36:44 +02:00
parent 0e70e26d92
commit 88d997a63e
13 changed files with 104 additions and 88 deletions

View File

@ -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: