=== modified file 'debian/changelog' --- debian/changelog 2008-03-17 18:34:55 +0000 +++ debian/changelog 2008-03-18 09:45:19 +0000 @@ -6,8 +6,10 @@ left arrow to expand a row got a seperate column (LP: #202880) * launchpadbugs/html_bug.py: fixed parsing of milestones in the html mode if a user is not logged in (LP: #202204) + * launchpadbugs/test_bug{,list}.py: do not raise API warnings in + text-mode anymore (LP: #194082) - -- Markus Korn Mon, 17 Mar 2008 19:31:41 +0100 + -- Markus Korn Tue, 18 Mar 2008 10:43:21 +0100 python-launchpad-bugs (0.2.29) hardy; urgency=low === modified file 'launchpadbugs/text_bug.py' --- launchpadbugs/text_bug.py 2008-03-14 17:35:37 +0000 +++ launchpadbugs/text_bug.py 2008-03-18 09:31:38 +0000 @@ -18,9 +18,6 @@ #from html_bug import Bug as BugBase # using html_bug as fallback -import warnings -warnings.warn("text_bug API not stable yet", FutureWarning) -del warnings class Task(LPTask): def __init__(self, value_dict): === modified file 'launchpadbugs/text_buglist.py' --- launchpadbugs/text_buglist.py 2008-01-08 10:27:30 +0000 +++ launchpadbugs/text_buglist.py 2008-03-18 09:36:57 +0000 @@ -1,20 +1,13 @@ -import warnings import urlparse from bugbase import LPBugInfo from buglistbase import LPBugList, LPBugPage -warnings.warn("text_buglist API not stable yet, LP returns a list of all bugs ever reported", FutureWarning) - class BugInfo(LPBugInfo): # TODO: use same attribute names like Bug.Bug def __init__(self, nr, all_tasks): LPBugInfo.__init__(self, nr, None, None, None, None, None, all_tasks) - def __getattribute__(self,name): - if not name in ("bugnumber","url") and not name.startswith("_LPBugInfo__"): - warnings.warn("unable to parse '%s' in text-mode" %name, UserWarning) - return super(LPBugInfo, self).__getattribute__(name) class BugPage(LPBugPage):