From 39ef5a723c72d75e1e59bb04d44c266808b5eaf5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2013 07:55:25 +0200 Subject: Writing errors to stderr in Python stubs. --- scripts/build/bootstrap_cdebootstrap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/build/bootstrap_cdebootstrap') diff --git a/scripts/build/bootstrap_cdebootstrap b/scripts/build/bootstrap_cdebootstrap index 6aad9240a..8b295eb91 100755 --- a/scripts/build/bootstrap_cdebootstrap +++ b/scripts/build/bootstrap_cdebootstrap @@ -40,7 +40,7 @@ def main(): ## Parsing Configuration if not os.path.isfile('config/build'): - print('E: config/build - no such file') + print('E: config/build - no such file', file=sys.stderr) sys.exit(1) @@ -83,7 +83,7 @@ def main(): # dependencies if not os.path.isfile('/usr/bin/cdebootstrap'): - print('E: /usr/bin/cdebootstrap - no such file') + print('E: /usr/bin/cdebootstrap - no such file', file=sys.stderr) if verbose: print('I: cdebootstrap can be optained from:\n' @@ -96,7 +96,7 @@ def main(): # clean if os.path.exists('chroot'): - print('E: chroot already exists - unclean build') + print('E: chroot already exists - unclean build', file=sys.stderr) if verbose: print('I: use \'lb clean\' to clean up a previously incomplete build') -- cgit v1.2.3