On stabilise le plugin Python en virant toute occurrence de print.
* Désolé. \o/
This commit is contained in:
parent
2c27a030ee
commit
4b36a51d99
102 changed files with 513 additions and 703 deletions
|
@ -1257,7 +1257,7 @@ info["mode"] = 0600
|
|||
@#
|
||||
@#$Conf{RsyncdPasswd} = '';
|
||||
@
|
||||
print "$Conf{RsyncdPasswd} = '%s';" % secrets.backuppc_RsyncdPasswd
|
||||
out("$Conf{RsyncdPasswd} = '%s';" % (secrets.backuppc_RsyncdPasswd,))
|
||||
@
|
||||
@#
|
||||
@# Whether authentication is mandatory when connecting to the client's
|
||||
|
|
|
@ -6,11 +6,11 @@ info["owner"] = "backuppc"
|
|||
info["group"] = "adm"
|
||||
info["mode"] = 0640
|
||||
|
||||
def backuppc_hosts(comment, hostslist):
|
||||
print "# %s" % comment
|
||||
def backuppc_hosts(commentaire, hostslist):
|
||||
comment(commentaire)
|
||||
for host in hostslist:
|
||||
print '%s 0 backuppc' % host
|
||||
print ''
|
||||
out('%s 0 backuppc' % (host,))
|
||||
out()
|
||||
|
||||
@#============================================================= -*-perl-*-
|
||||
@#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue