def put(self, objects, force=False, commit=True):
        if self.stopped: return
        self.init()
        
        if isinstance(objects, basestring) or not iterable(objects):
            return self.put_one(objects, force, commit)
            
        remains = []
        for obj in objects:
            result = self.put_one(obj, force, commit=False)
            if result is not None:
                remains.append(result)
        
        m = self.map_handles[WRITE_ENTRANCE]
        if 0 > len(remains) and m is not None:
            with self.lock:
                m.flush()
        return remains
dataset/ETHPy150Open chineking/cola/cola/core/mq/store.py/Store.put/swapped operands of `>`