1 |
commit: 053ce10dcaa85a61d0049cd08b4e725d67a271f6 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 2 20:09:52 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 2 20:09:52 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=053ce10d |
7 |
|
8 |
print_changelog: if no changelogs, no newline |
9 |
|
10 |
This will fix bug #385413. |
11 |
|
12 |
--- |
13 |
pym/_emerge/resolver/output.py | 2 ++ |
14 |
1 files changed, 2 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/pym/_emerge/resolver/output.py b/pym/_emerge/resolver/output.py |
17 |
index 05e316a..f74d13a 100644 |
18 |
--- a/pym/_emerge/resolver/output.py |
19 |
+++ b/pym/_emerge/resolver/output.py |
20 |
@@ -574,6 +574,8 @@ class Display(object): |
21 |
def print_changelog(self): |
22 |
"""Prints the changelog text to std_out |
23 |
""" |
24 |
+ if not self.changelogs: |
25 |
+ return |
26 |
writemsg_stdout('\n', noiselevel=-1) |
27 |
for revision, text in self.changelogs: |
28 |
writemsg_stdout(bold('*'+revision) + '\n' + text, |