Commit 770489aa authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[backups] Erreur d'écriture

parent f5879967
......@@ -34,7 +34,7 @@ if __name__ == "__main__":
fichier.write("""$Conf{RsyncShareName} = ['%(shares)s'];
$Conf{BackupFilesExclude} = {
%(excludes)s
};""" % {'shares' : ", ".join(backup_folders.keys()), 'excludes' : "\n ".join(["'%s' => ['lost+found']," % nom for nom in backup_folders.keys()])})
};""" % {'shares' : "', '".join(backup_folders.keys()), 'excludes' : "\n ".join(["'%s' => ['lost+found']," % nom for nom in backup_folders.keys()])})
os.chmod(rootpath + hoteRsync + ".pl", 0644)
os.chown(rootpath + hoteRsync + ".pl", root, wwwdata)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment