[jhbuild] uninstall: move 'created automatically' message to the right place
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] uninstall: move 'created automatically' message to the right place
- Date: Wed, 15 May 2013 12:29:54 +0000 (UTC)
commit 07b5a7d95cde6d6c2344a69e7945ff5b04c07d1a
Author: Frédéric Péters <fpeters 0d be>
Date: Wed May 15 14:28:58 2013 +0200
uninstall: move 'created automatically' message to the right place
jhbuild/commands/uninstall.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jhbuild/commands/uninstall.py b/jhbuild/commands/uninstall.py
index 27c5d80..3428a8b 100644
--- a/jhbuild/commands/uninstall.py
+++ b/jhbuild/commands/uninstall.py
@@ -47,6 +47,8 @@ class cmd_uninstall(Command):
if not default_repo:
raise FatalError(_('unknown module %s and no default repository to try an automatic
module') % modname)
+ logging.info(_('module "%(modname)s" does not exist, created automatically using repository
"%(reponame)s"') % \
+ {'modname': modname, 'reponame': default_repo.name})
module = AutogenModule(modname, default_repo.branch(modname))
module.config = config
@@ -62,8 +64,6 @@ class cmd_uninstall(Command):
logging.warn(_('Module %(mod)r is not installed') % {'mod': module.name })
module_list.remove(module)
else:
- logging.info(_('module "%(modname)s" does not exist, created automatically using repository
"%(reponame)s"') % \
- {'modname': modname, 'reponame': default_repo.name})
packagedb.uninstall(module.name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]