BryanDavis has uploaded a new change for review.

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

Change subject: Fix indenting from 5738f90
......................................................................

Fix indenting from 5738f90

Fix a small tab expansion error introduced by the tab cleanup done in
5738f90.

Change-Id: I5db94c757462879aba573378ce8aace6033e880e
---
M StewardBot/StewardBot.py
1 file changed, 5 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/stewardbots 
refs/changes/11/319611/1

diff --git a/StewardBot/StewardBot.py b/StewardBot/StewardBot.py
index 4612e79..343d446 100644
--- a/StewardBot/StewardBot.py
+++ b/StewardBot/StewardBot.py
@@ -809,11 +809,11 @@
                 if hid: usertarget="a global account"
                 else: usertarget="global account %s" % usertarget
                 # HARCODED PART; TO BE REDESIGNED INTO AN EXCEPTION SYSTEM
-        print usersource, origcomment
-        #if usersource == 'Quentinv57' and 'spambot' in origcomment:
-        #   pass
-        if True: #else:
-            bot1.msg("%s03%s %s %s%s" % (selff, usersource, action2, 
usertarget, comment))
+                print usersource, origcomment
+                #if usersource == 'Quentinv57' and 'spambot' in origcomment:
+                #   pass
+                if True: #else:
+                    bot1.msg("%s03%s %s %s%s" % (selff, usersource, action2, 
usertarget, comment))
             elif "Special:Log/gblrights" in a:
                 #14[[07Special:Log/gblrights14]]4 groupprms210 02 5* 
03Dungodung 5*  10changed group permissions for 
Special:GlobalUsers/test.Added move, patrol;Removed (none): testing
                 #14[[07Special:Log/gblrights14]]4 ***action***10 02 
5* 03***who*** 5*  10***text***: ***opt-comment***
@@ -951,6 +951,3 @@
         bot1.die()
         bot2.die()
         sys.exit()
-
-
-

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5db94c757462879aba573378ce8aace6033e880e
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/stewardbots
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

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

Reply via email to