'Renew the lease if it is older than a predefined time period'

def renew(self):

    if (self.lease_id is None):
        return
    headers = {'x-ms-lease-action': 'renew', 'x-ms-lease-id': self.lease_id, 'x-ms-lease-duration': '60'}
    response = self.driver.connection.request(self.object_path, headers=headers, params=self.params, method='PUT')
    if (response.status != httplib.OK):
        raise LibcloudError('Unable    to    obtain    lease', driver=self)
