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: Ie3b2432b3beaed0a9a92fa38341808e6709992fb --- 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