<filename>idigbio_media_appliance/lib/__init__.py<gh_stars>1-10
import uuid


def get_uuid_unicode():
    u = uuid.uuid4()
    try:
        return unicode(u)
    except NameError:
        return str(u)


class NotAuthorizedException(Exception):
    pass

<filename>idigbio_media_appliance/lib/__init__.py<gh_stars>1-10
import uuid


def get_uuid_unicode():
    u = uuid.uuid4()
    try:
        return unicode(u)
    except NameError:
        return str(u)


class NotAuthorizedException(Exception):
    pass
