Some code cleaning for SphinxDocsBuilder. NFC.
diff --git a/zorg/buildbot/builders/SphinxDocsBuilder.py b/zorg/buildbot/builders/SphinxDocsBuilder.py
index a724e46..f208715 100644
--- a/zorg/buildbot/builders/SphinxDocsBuilder.py
+++ b/zorg/buildbot/builders/SphinxDocsBuilder.py
@@ -228,10 +228,10 @@
for target, local_path, remote_path in docs:
f.addStep(
ShellCommand(
- name="Publish %s" % target,
+ name="Publish {}".format(target),
description=[
- "Publish", "just", "built", "documentation", "fior",
- "%s" % target,
+ "Publish", "just", "built", "documentation", "for",
+ "{}".format(target),
],
command=[
'rsync',
@@ -240,8 +240,8 @@
'--ignore-times',
'--checksum',
'-p', '--chmod=Du=rwx,Dg=rwx,Do=rx,Fu=rw,Fg=rw,Fo=r',
- "%s" % local_path,
- "lists.llvm.org:web/%s" % remote_path,
+ "{}".format(local_path),
+ "lists.llvm.org:web/{}".format(remote_path),
],
env=merged_env,
)