def showAll(self):
		self.conn.commit()
		cur = self.conn.cursor()
		cur.execute("SELECT * FROM Domains")
		print cur.fetchall()
		cur.execute("SELECT * FROM Websites")
		print cur.fetchall()
def _get_snapshot_status(self, snapshot_id):
        resp, body = self.get_snapshot(snapshot_id)
        status = body['status']
        # NOTE(afazekas): snapshot can reach an "error"
        # state in a "normal" lifecycle
        if (status == 'error'):
            raise exceptions.SnapshotBuildErrorException(
                snapshot_id=snapshot_id)

        return status