- return [ bug for bug in self.bts.query("pkg:ftp.debian.org") \
- if bug.status=='pending' and not bug.usertags ]
+
+ tagged_bugs = bts.get_usertag('ftp.debian.org@packages.debian.org')
+ tagged_bugs_ftp = []
+ for tags in tagged_bugs.keys():
+ tagged_bugs_ftp += tagged_bugs[tags]
+
+ return [ bug for bug in bts.get_status( bts.get_bugs("package", "ftp.debian.org" ) ) \
+ if bug.pending=='pending' and not bug.bug_num in tagged_bugs_ftp ]