From c09b40cb843038a22cca40a2bdcfe44ffd2837a0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 20 Sep 2012 13:31:07 +0200 Subject: [PATCH] typo love --- debian_build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian_build.py b/debian_build.py index 13238f4..2186313 100755 --- a/debian_build.py +++ b/debian_build.py @@ -132,16 +132,16 @@ def db_add_job(con, name): try: cur.execute("INSERT INTO jenkins_job(name) VALUES(%s)" " RETURNING id", (name)) - logger_debug("saved %s to databased" %(job_name)) + logger.debug("saved %s to databased" %(job_name)) except psycopg2.DatabaseError as e: # record already exist cur.execute("ROLLBACK TO a") # have to rollback after failed command - logger_debug("could not save %s to databased" %(job_name)) + logger.debug("could not save %s to databased" %(job_name)) #def add_package_instance("profitbricks", $BUILD_JOBNAME, $BUILD_NUMBER, changes_file) def add_package_instance(origin, job_name, job_id, changes_file, version): con = db_connect() - logger_debug("save %s to database" %(job_name)) + logger.debug("save %s to database" %(job_name)) db_add_job(con, job_name) # add jenkins_build # for all packages in changes file -- 2.39.5