Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLOrderBook.py   Products.BastionLedger(Download)
        for ob in map(lambda x,y=self: y._getOb(x), ids):
            if force:
                self._delObject(ob.getId(), force=force)
            else:
                #if not isinstance(ob, BLOrder) or ob.status() in ('incomplete', 'uninvoiced'):
                self._delObject(ob.getId())

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLPayroll.py   Products.BastionLedger(Download)
                ob = self._getOb(id)
                if ob.meta_type == 'BLPaySlip':
                    self._delObject(id)
            except (KeyError, AttributeError):
                pass