def getOwner(photoInfo):
    """Returns the owner name string for a photo.

    Keyword arguments:
    photoInfo -- the photo info as return by the Flickr getInfo API call
    """

    return photoInfo.find('owner').get('realname')