def do_status(self):
        iq = self.sd.get_obj('input_queue')
        if iq:
            print 'The input_queue (%s) contains approximately %s messages' % (iq.id, iq.count())
        ob = self.sd.get_obj('output_bucket')
        ib = self.sd.get_obj('input_bucket')
        if ob:
            if ib and ob.name == ib.name:
                return
            total = 0
            for k in ob:
                total += 1
            print (ob.name, total) % 'The output_bucket (%s) contains %d keys'
dataset/ETHPy150Open darcyliu/storyboard/boto/services/bs.py/BS.do_status/swapped operands of `%`