Gentoo Archives: gentoo-commits

From: Magnus Granberg <zorry@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/zorry:master commit in: gobs/pym/
Date: Wed, 28 Sep 2011 01:04:59
Message-Id: 0eaa44031df5eb6e41690457bea7fe72e9bb47c0.zorry@gentoo
1 commit: 0eaa44031df5eb6e41690457bea7fe72e9bb47c0
2 Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 28 01:04:35 2011 +0000
4 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 28 01:04:35 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/zorry.git;a=commit;h=0eaa4403
7
8 remove prints
9
10 ---
11 gobs/pym/build_log.py | 11 -----------
12 1 files changed, 0 insertions(+), 11 deletions(-)
13
14 diff --git a/gobs/pym/build_log.py b/gobs/pym/build_log.py
15 index 6539b37..2656732 100644
16 --- a/gobs/pym/build_log.py
17 +++ b/gobs/pym/build_log.py
18 @@ -49,25 +49,19 @@ class gobs_buildlog(object):
19
20 def search_info(self, textline, error_log_list):
21 if re.search(" * Package:", textline):
22 - print('Package')
23 error_log_list.append(textline)
24 if re.search(" * Repository:", textline):
25 - print('Repository')
26 error_log_list.append(textline)
27 if re.search(" * Maintainer:", textline):
28 error_log_list.append(textline)
29 - print('Maintainer')
30 if re.search(" * USE:", textline):
31 error_log_list.append(textline)
32 - print('USE')
33 if re.search(" * FEATURES:", textline):
34 error_log_list.append(textline)
35 - print('FEATURES')
36 return error_log_list
37
38 def search_error(self, textline, error_log_list, sum_build_log_list, i):
39 if re.search("Error 1", textline):
40 - print('Error')
41 x = i - 20
42 endline = True
43 error_log_list.append(".....\n")
44 @@ -79,7 +73,6 @@ class gobs_buildlog(object):
45 else:
46 x = x +1
47 if re.search(" * ERROR:", textline):
48 - print('ERROR')
49 x = i
50 endline= True
51 field = textline.split(" ")
52 @@ -93,7 +86,6 @@ class gobs_buildlog(object):
53 else:
54 x = x +1
55 if re.search("configure: error:", textline):
56 - print('configure: error:')
57 x = i - 4
58 endline = True
59 error_log_list.append(".....\n")
60 @@ -108,7 +100,6 @@ class gobs_buildlog(object):
61
62 def search_qa(self, textline, qa_error_list, error_log_list,i):
63 if re.search(" * QA Notice:", textline):
64 - print('QA Notice')
65 x = i
66 qa_error_list.append(self._logfile_text[x])
67 endline= True
68 @@ -452,9 +443,7 @@ class gobs_buildlog(object):
69 if sum_build_log_list != []:
70 for sum_log_line in sum_build_log_list:
71 summary_error = summary_error + " " + sum_log_line
72 - print('summary_error', summary_error)
73 build_log_dict['logfilename'] = re.sub("\/var\/log\/portage\/", "", self._mysettings.get("PORTAGE_LOG_FILE"))
74 - print(self._build_dict['queue_id'], build_error, summary_error, build_log_dict['logfilename'], build_log_dict)
75 if self._build_dict['queue_id'] is None:
76 build_id = self.add_new_ebuild_buildlog(build_error, summary_error, build_log_dict)
77 else: