diff --git a/pisi/cli/build.py b/pisi/cli/build.py index b553f0a4..2484becc 100644 --- a/pisi/cli/build.py +++ b/pisi/cli/build.py @@ -1,6 +1,6 @@ # -*- coding:utf-8 -*- # -# Copyright (C) 2005-2010, TUBITAK/UEKAE +# Copyright (C) 2005-2011, TUBITAK/UEKAE # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free @@ -172,11 +172,7 @@ class Build(command.Command): self.init() - if ctx.get_option('output_dir'): - ctx.ui.info(_('Output directory: %s') - % ctx.config.options.output_dir) - else: - ctx.ui.info(_('Outputting packages in the working directory.')) + if not ctx.get_option('output_dir'): ctx.config.options.output_dir = '.' for x in self.args or ["pspec.xml"]: diff --git a/pisi/cli/delta.py b/pisi/cli/delta.py index eb329d22..5c7ae5d5 100644 --- a/pisi/cli/delta.py +++ b/pisi/cli/delta.py @@ -1,6 +1,6 @@ # -*- coding:utf-8 -*- # -# Copyright (C) 2005-2010, TUBITAK/UEKAE +# Copyright (C) 2005-2011, TUBITAK/UEKAE # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free @@ -88,11 +88,7 @@ class Delta(command.Command): new_package = self.args[-1] old_packages = self.args[:-1] - if ctx.get_option('output_dir'): - ctx.ui.info(_('Output directory: %s') - % ctx.config.options.output_dir) - else: - ctx.ui.info(_('Outputting packages in the working directory.')) + if not ctx.get_option('output_dir'): ctx.config.options.output_dir = '.' from pisi.operations.delta import create_delta_packages