Legoktm has uploaded a new change for review.

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


Change subject: Read the labels
......................................................................

Read the labels

Change-Id: Ib4590a57f1b2410b7c4cdaaabc4a674efc7dd072
---
M sf.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/sf-export 
refs/changes/71/81171/1

diff --git a/sf.py b/sf.py
index d381719..ee65ca1 100644
--- a/sf.py
+++ b/sf.py
@@ -59,6 +59,9 @@
             self._json = r.json()
         return self._json
 
+    def label(self):
+        return self.json['ticket']['labels']
+
     @property
     def json(self):
         """

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib4590a57f1b2410b7c4cdaaabc4a674efc7dd072
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/sf-export
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to