From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 355001381F3 for ; Fri, 21 Dec 2012 01:49:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3B8E21C03F; Fri, 21 Dec 2012 01:49:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7951C21C03E for ; Fri, 21 Dec 2012 01:49:03 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 82C9433D9B1 for ; Fri, 21 Dec 2012 01:49:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2202FE543C for ; Fri, 21 Dec 2012 01:49:01 +0000 (UTC) From: "Magnus Granberg" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" Message-ID: <1356054528.596d5019cd5b0f4c6f5548bd0cfde3837b0f7ad9.zorry@gentoo> Subject: [gentoo-commits] dev/zorry:master commit in: gobs/pym/ X-VCS-Repository: dev/zorry X-VCS-Files: gobs/pym/mysql_querys.py gobs/pym/package.py X-VCS-Directories: gobs/pym/ X-VCS-Committer: zorry X-VCS-Committer-Name: Magnus Granberg X-VCS-Revision: 596d5019cd5b0f4c6f5548bd0cfde3837b0f7ad9 X-VCS-Branch: master Date: Fri, 21 Dec 2012 01:49:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3ea69715-56f5-4f08-93e2-5c26bd6e1b20 X-Archives-Hash: 87cf00d3526b9a0f756da9576a9eb58a commit: 596d5019cd5b0f4c6f5548bd0cfde3837b0f7ad9 Author: Magnus Granberg gentoo org> AuthorDate: Fri Dec 21 01:48:48 2012 +0000 Commit: Magnus Granberg gentoo org> CommitDate: Fri Dec 21 01:48:48 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/zorry.git;a=commit;h=596d5019 fix invalid syntax and unexpected indent --- gobs/pym/mysql_querys.py | 2 +- gobs/pym/package.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gobs/pym/mysql_querys.py b/gobs/pym/mysql_querys.py index bf2e20c..f05cb8e 100644 --- a/gobs/pym/mysql_querys.py +++ b/gobs/pym/mysql_querys.py @@ -261,7 +261,7 @@ def get_config_id_list(connection): config_id_list.append(config_id[0]) return config_id_list -ef add_new_build_job(connection, ebuild_id, config_id, use_flagsDict): +def add_new_build_job(connection, ebuild_id, config_id, use_flagsDict): cursor = connection.cursor() sqlQ1 = 'INSERT INTO build_jobs (ebuild_id, config_id) VALUES (%s, %s)' sqlQ2 = 'INSERT INTO build_jobs_use (build_job_id, use_id, status) VALUES (%s, %s, %s)' diff --git a/gobs/pym/package.py b/gobs/pym/package.py index 5257516..38a13f3 100644 --- a/gobs/pym/package.py +++ b/gobs/pym/package.py @@ -9,7 +9,7 @@ from gobs.mysql_querys import get_config, get_config_id, add_gobs_logs, get_defa add_new_build_job, get_config_id_list, update_manifest_sql, add_new_manifest_sql, \ add_new_ebuild_sql, update_active_ebuild_to_fales, add_old_ebuild, \ get_ebuild_checksum, get_manifest_db, get_cp_repo_from_package_id - from gobs.readconf import get_conf_settings +from gobs.readconf import get_conf_settings reader=get_conf_settings() gobs_settings_dict=reader.read_gobs_settings_all() config_profile = gobs_settings_dict['gobs_config']