diff options
-rw-r--r-- | pym/_emerge/EbuildPhase.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/EbuildPhase.py b/pym/_emerge/EbuildPhase.py index ec08fabf9..e3bc076c9 100644 --- a/pym/_emerge/EbuildPhase.py +++ b/pym/_emerge/EbuildPhase.py @@ -66,7 +66,8 @@ class EbuildPhase(CompositeTask): msg = [] msg.append("Package: %s" % self.settings.mycpv) - msg.append("Repository: %s" % self.settings['PORTAGE_REPO_NAME']) + if self.settings.get('PORTAGE_REPO_NAME'): + msg.append("Repository: %s" % self.settings['PORTAGE_REPO_NAME']) if maint_str: msg.append("Maintainer: %s" % maint_str) msg.append("USE: %s" % use) |