Ian Cordasco committed c49c60d

A couple more __str__ methods.

I don't see anywhere else where they might be useful. Pull Requests always
accepted for other places of course.

Comments (0)

Files changed (1)

 = label.get('name')
     def __repr__(self):
-        return '<Label [{0}]>'.format(
+        return '<Label [{0}]>'.format(self)
+    def __str__(self):
+        return
     def _update_(self, label):
         self.__init__(label, self._session)
             self.due_on = self._strptime(mile.get('due_on'))
     def __repr__(self):
-        return '<Milestone [{0}]>'.format(self.title)
+        return '<Milestone [{0}]>'.format(self)
+    def __str__(self):
+        return self.title
     def _update_(self, mile):
         self.__init__(mile, self._session)
     def __repr__(self):
         return '<Issue [{r[0]}/{r[1]} #{n}]>'.format(r=self.repository,
-                n=self.number)  # nopep8
+                                                     n=self.number)
     def _update_(self, issue):
         self.__init__(issue, self._session)