[MediaWiki-commits] [Gerrit] pywikibot...FLOSSbot[master]: plugin: item name before plugin name

2016-10-02 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: plugin: item name before plugin name
..


plugin: item name before plugin name

It's easier to read.

Change-Id: I15fb5b1fd0fb45a3fb246a582e0ed13e8b0b5076
Signed-off-by: Loic Dachary 
---
M FLOSSbot/plugin.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Dachary: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/FLOSSbot/plugin.py b/FLOSSbot/plugin.py
index 259df3f..b273ce9 100644
--- a/FLOSSbot/plugin.py
+++ b/FLOSSbot/plugin.py
@@ -61,8 +61,9 @@
 def log(self, fun, item, message):
 label = item.labels.get('en', 'no label')
 fun("http://wikidata.org/wiki/; + item.getID() +
+" " + label +
 " " + self.__class__.__name__ +
-" " + label + " " + message)
+" " + message)
 
 def run_catch(self, item):
 try:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I15fb5b1fd0fb45a3fb246a582e0ed13e8b0b5076
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/bots/FLOSSbot
Gerrit-Branch: master
Gerrit-Owner: Dachary 
Gerrit-Reviewer: Dachary 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] pywikibot...FLOSSbot[master]: plugin: item name before plugin name

2016-10-02 Thread Dachary (Code Review)
Dachary has uploaded a new change for review.

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

Change subject: plugin: item name before plugin name
..

plugin: item name before plugin name

It's easier to read.

Change-Id: I15fb5b1fd0fb45a3fb246a582e0ed13e8b0b5076
Signed-off-by: Loic Dachary 
---
M FLOSSbot/plugin.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/bots/FLOSSbot 
refs/changes/71/313771/1

diff --git a/FLOSSbot/plugin.py b/FLOSSbot/plugin.py
index 259df3f..b273ce9 100644
--- a/FLOSSbot/plugin.py
+++ b/FLOSSbot/plugin.py
@@ -61,8 +61,9 @@
 def log(self, fun, item, message):
 label = item.labels.get('en', 'no label')
 fun("http://wikidata.org/wiki/; + item.getID() +
+" " + label +
 " " + self.__class__.__name__ +
-" " + label + " " + message)
+" " + message)
 
 def run_catch(self, item):
 try:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I15fb5b1fd0fb45a3fb246a582e0ed13e8b0b5076
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/bots/FLOSSbot
Gerrit-Branch: master
Gerrit-Owner: Dachary 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits