import commonware.log import MySQLdb as mysql import sqlalchemy.pool as pool try: from compare import version_int except ImportError: from apps.versions.compare import version_int from constants import applications, base from utils import (APP_GUIDS, get_mirror, log_configure, PLATFORMS, STATUSES_PUBLIC) # Go configure the log. log_configure() good_rdf = """<?xml version="1.0"?> <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <RDF:Description about="urn:mozilla:%(type)s:%(guid)s"> <em:updates> <RDF:Seq> <RDF:li resource="urn:mozilla:%(type)s:%(guid)s:%(version)s"/> </RDF:Seq> </em:updates> </RDF:Description> <RDF:Description about="urn:mozilla:%(type)s:%(guid)s:%(version)s"> <em:version>%(version)s</em:version> <em:targetApplication>
import commonware.log import MySQLdb as mysql import sqlalchemy.pool as pool try: from compare import version_int except ImportError: from olympia.versions.compare import version_int from olympia.constants import applications, base from utils import (APP_GUIDS, get_mirror, log_configure, PLATFORMS) # Go configure the log. log_configure() good_rdf = """<?xml version="1.0"?> <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <RDF:Description about="urn:mozilla:%(type)s:%(guid)s"> <em:updates> <RDF:Seq> <RDF:li resource="urn:mozilla:%(type)s:%(guid)s:%(version)s"/> </RDF:Seq> </em:updates> </RDF:Description> <RDF:Description about="urn:mozilla:%(type)s:%(guid)s:%(version)s"> <em:version>%(version)s</em:version> <em:targetApplication>