import time
import fileinput
import psycopg2
+import logging
from common_code import *
from cidb import *
return db_package_instance_ids
def add_package_version(origin, package, version):
- logger = logger_init()
con = db_connect()
db_origin_id = db_add_origin(con, origin)
db_package_id = db_add_package (con, package)
from multiprocessing import cpu_count
from ConfigParser import SafeConfigParser
+
+logger = logger_init()
+
JOB_URL = 'http://jenkins:80/job/%(flavour)s/buildWithParameters?token=BuildIt&'
JOB_DELAY = '0sec'
return parser.parse_args()
if __name__ == '__main__':
- logger = logger_init()
logger.debug('Called in: %s' % os.getcwd())
logger.debug('Called with: %s' % " ".join(sys.argv))
logger.debug(