cli: Suppress info about output directory
The output directory will already be printed during the final step of package building.
This commit is contained in:
+2
-6
@@ -1,6 +1,6 @@
|
|||||||
# -*- coding:utf-8 -*-
|
# -*- 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
|
# 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
|
# the terms of the GNU General Public License as published by the Free
|
||||||
@@ -172,11 +172,7 @@ class Build(command.Command):
|
|||||||
|
|
||||||
self.init()
|
self.init()
|
||||||
|
|
||||||
if ctx.get_option('output_dir'):
|
if not 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.'))
|
|
||||||
ctx.config.options.output_dir = '.'
|
ctx.config.options.output_dir = '.'
|
||||||
|
|
||||||
for x in self.args or ["pspec.xml"]:
|
for x in self.args or ["pspec.xml"]:
|
||||||
|
|||||||
+2
-6
@@ -1,6 +1,6 @@
|
|||||||
# -*- coding:utf-8 -*-
|
# -*- 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
|
# 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
|
# 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]
|
new_package = self.args[-1]
|
||||||
old_packages = self.args[:-1]
|
old_packages = self.args[:-1]
|
||||||
|
|
||||||
if ctx.get_option('output_dir'):
|
if not 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.'))
|
|
||||||
ctx.config.options.output_dir = '.'
|
ctx.config.options.output_dir = '.'
|
||||||
|
|
||||||
from pisi.operations.delta import create_delta_packages
|
from pisi.operations.delta import create_delta_packages
|
||||||
|
|||||||
Reference in New Issue
Block a user