jenkins-bot has submitted this change and it was merged.
Change subject: pep8-ified scripts/clean_sandbox.py ......................................................................
pep8-ified scripts/clean_sandbox.py
Change-Id: Id0b42c8c1cf468160bbe7d98a6521a69bb746503 --- M scripts/clean_sandbox.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/clean_sandbox.py b/scripts/clean_sandbox.py index 54cbc85..c06662c 100755 --- a/scripts/clean_sandbox.py +++ b/scripts/clean_sandbox.py @@ -210,8 +210,7 @@ u'Standard content was changed, sandbox cleaned.') else: edit_delta = datetime.datetime.utcnow() - \ - pywikibot.Timestamp.fromISOformat( - sandboxPage.editTime()) + pywikibot.Timestamp.fromISOformat(sandboxPage.editTime()) delta = self.getOption('delay_td') - edit_delta # Is the last edit more than 'delay' minutes ago? if delta <= datetime.timedelta(0):
pywikibot-commits@lists.wikimedia.org