def blobEncode(self, blob):
        try:
            from psycopg2 import Binary
        except __HOLE__:
            from psycopg import Binary

        return Binary(blob)
dataset/ETHPy150Open CollabQ/CollabQ/openid/store/sqlstore.py/PostgreSQLStore.blobEncode