Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/b/o/bodhi-HEAD/bodhi/models/models.py   bodhi(Download)
                    for bug in self.bugs:
                        if bug.parent:
                            parent = bugtracker.getbug(bug.bug_id)
                            if parent.bug_status == "NEW":
                                log.debug("Parent bug %d is still NEW; not "
                            for dep in parent.dependson:
                                try:
                                    tracker = bugtracker.getbug(dep)
                                except xmlrpclib.Fault, f:
                                    log.error("Can't access bug: %s" % str(f))
            if not bug:
                if fetchdetails:
                    newbug = bugtracker.getbug(bug_id)
                    bug = Bug(bug_id=newbug.bug_id)
                    bug.fetch_details(newbug)