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):
--
To view, visit
https://gerrit.wikimedia.org/r/80844
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie3b2432b3beaed0a9a92fa38341808e6709992fb
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Legoktm <legoktm.wikipedia(a)gmail.com>
Gerrit-Reviewer: jenkins-bot