Xqt has uploaded a new change for review.

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


Change subject: pep8 changes
......................................................................

pep8 changes

Change-Id: I3aad0b30c05aa808f36ace84591440ce6c2ac35d
---
M scripts/category.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/33/80533/1

diff --git a/scripts/category.py b/scripts/category.py
index 22ef129..73929cc 100755
--- a/scripts/category.py
+++ b/scripts/category.py
@@ -639,7 +639,7 @@
             contextLength = 500
         if full_text.startswith(u'[['):  # probably an image
             # Add extra paragraph.
-            contextLength = full_text.find('\n\n', contextLength+2)
+            contextLength = full_text.find('\n\n', contextLength + 2)
         if contextLength > 1000 or contextLength < 0:
             contextLength = 500
         print

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3aad0b30c05aa808f36ace84591440ce6c2ac35d
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>

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

Reply via email to