Skip to content

Commit ae147c8

Browse files
committed
Clean up linting
1 parent c5a9acc commit ae147c8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

readthedocs/builds/syncers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ def copy(cls, path, target, host, is_file=False, **__):
140140
)
141141
ret = os.system(sync_cmd)
142142
if ret != 0:
143-
log.error("COPY ERROR to app servers. Return code: ", ret)
144-
log.error("COPY ERROR command run:", sync_cmd)
143+
log.error("COPY ERROR to app servers. Return code: {}".format(ret))
144+
log.error("COPY ERROR command run: {}".format(sync_cmd))
145145

146146

147147
class Syncer(SettingsOverrideObject):

readthedocs/projects/tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,7 @@ def update_app_instances(self, html=False, localmedia=False, search=False,
347347
'built': True,
348348
})
349349
except HttpClientError:
350-
log.exception('Updating version failed, skipping file sync: version=%s',
351-
self.version.pk)
350+
log.exception('Updating version failed, skipping file sync: version=%s' % self.version)
352351

353352
# Broadcast finalization steps to web application instances
354353
broadcast(

0 commit comments

Comments
 (0)