1 |
commit: b7da7da06b53b67ae42fcdbdf70edd034cf6de54 |
2 |
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 01:17:14 2011 +0000 |
4 |
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 01:17:14 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/zorry.git;a=commit;h=b7da7da0 |
7 |
|
8 |
remove prints |
9 |
|
10 |
--- |
11 |
gobs/bin/gobs_portage_hooks | 4 ---- |
12 |
1 files changed, 0 insertions(+), 4 deletions(-) |
13 |
|
14 |
diff --git a/gobs/bin/gobs_portage_hooks b/gobs/bin/gobs_portage_hooks |
15 |
index 5432545..bf574dc 100755 |
16 |
--- a/gobs/bin/gobs_portage_hooks |
17 |
+++ b/gobs/bin/gobs_portage_hooks |
18 |
@@ -27,7 +27,6 @@ def get_build_dict_db(mysettings, config_profile, gobs_settings_dict): |
19 |
ebuild_version = os.environ['PVR'] |
20 |
cpv = categories + "/" + package + "-" + ebuild_version |
21 |
init_package = gobs_package(mysettings, myportdb) |
22 |
- print("cpv", cpv) |
23 |
package_id = have_package_db(conn, categories, package) |
24 |
# print("package_id %s" % package_id, file=sys.stdout) |
25 |
build_dict = {} |
26 |
@@ -49,16 +48,13 @@ def get_build_dict_db(mysettings, config_profile, gobs_settings_dict): |
27 |
pkgdir = os.path.join(mysettings['PORTDIR'], categories + "/" + package) |
28 |
ebuild_version_checksum_tree = portage.checksum.sha256hash(pkgdir+ "/" + package + "-" + ebuild_version + ".ebuild")[0] |
29 |
build_dict['checksum'] = ebuild_version_checksum_tree |
30 |
- print('checksum' ,ebuild_version_checksum_tree) |
31 |
ebuild_id = get_ebuild_id_db_checksum(conn, build_dict) |
32 |
- print('ebuild_id in db', ebuild_id) |
33 |
if ebuild_id is None: |
34 |
#print 'have any ebuild', get_ebuild_checksum(conn, package_id, ebuild_version) |
35 |
init_package.update_ebuild_db(build_dict) |
36 |
ebuild_id = get_ebuild_id_db_checksum(conn, build_dict) |
37 |
build_dict['ebuild_id'] = ebuild_id |
38 |
queue_id = check_revision(conn, build_dict) |
39 |
- print("queue_id in db", queue_id) |
40 |
if queue_id is None: |
41 |
build_dict['queue_id'] = None |
42 |
else: |