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

-- 
To view, visit https://gerrit.wikimedia.org/r/80845
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id0b42c8c1cf468160bbe7d98a6521a69bb746503
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to