def draw_rectangle(self, x, y, width, height):
        # Nasty retry if the image is loaded for the first time and it's truncated
        try:
            d = ImageDraw.Draw(self.image)
        except __HOLE__:
            d = ImageDraw.Draw(self.image)
        d.rectangle([x, y, x + width, y + height])

        del d
dataset/ETHPy150Open thumbor/thumbor/thumbor/engines/pil.py/Engine.draw_rectangle