Merlijn van Deen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/80845


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


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/45/80845/1

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: newchange
Gerrit-Change-Id: Id0b42c8c1cf468160bbe7d98a6521a69bb746503
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <[email protected]>

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

Reply via email to