---
catalyst/targets/stage3.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/catalyst/targets/stage3.py b/catalyst/targets/stage3.py
index cc3e520..f083193 100644
--- a/catalyst/targets/stage3.py
+++ b/catalyst/targets/stage3.py
@@ -3,6 +3,7 @@ stage3 target, builds upon previous stage2/stage3 tarball
"""
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
+from catalyst import log
from catalyst.base.stagebase import StageBase
@@ -18,10 +19,10 @@ class stage3(StageBase):
def set_portage_overlay(self):
StageBase.set_portage_overlay(self)
if "portage_overlay" in self.settings:
- print "\nWARNING !!!!!"
- print "\tUsing an overlay for earlier stages could
cause build issues."
- print "\tIf you break it, you buy it. Don't complain to
us about it."
- print "\tDont say we did not warn you\n"
+ log.warning(
+ 'Using an overlay for earlier stages could
cause build issues.\n'
+ "If you break it, you buy it. Don't complain
to us about it.\n"
+ "Don't say we did not warn you.")
def set_cleanables(self):
StageBase.set_cleanables(self)
--
2.5.2