def __str__(self):
    if self._path:
        return ('<S3Object %s (%d bytes, local)>' % (self._url, self._size))
    elif self._size:
        return ('<S3Object %s (%d bytes, in S3)>' % (self._url, self._size))
    else:
        return ('<S3Object %s (object does not exist)>' % self._url)
def __str__(self):
    if self._path:
        return ('<S3Object %s (%d bytes, local)>' % (self._url, self._size))
    elif self._size:
        return ('<S3Object %s (%d bytes, in S3)>' % (self._url, self._size))
    else:
        return ('<S3Object %s (object does not exist)>' % self._url)