[libconfig-model-perl] 03/06: added patch to fix cme cryptic message

dod at debian.org dod at debian.org
Mon Jun 16 19:26:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-perl.

commit 2f6463989b61b50acf7d5d2aac8ae4e156956562
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Jun 15 20:53:40 2014 +0200

    added patch to fix cme cryptic message
---
 debian/patches/fix-cryptic-message | 16 ++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/fix-cryptic-message b/debian/patches/fix-cryptic-message
new file mode 100644
index 0000000..27d14f5
--- /dev/null
+++ b/debian/patches/fix-cryptic-message
@@ -0,0 +1,16 @@
+Description: fix cryptic user message
+Author: dod
+Applied-Upstream: yes
+--- a/script/cme
++++ b/script/cme
+@@ -268,9 +268,7 @@ elsif ( $command eq 'fix' ) {
+     @fix_from = ('') unless @fix_from;
+     foreach my $path (@fix_from) {
+         my $node_to_fix = $inst->config_root->grab($path);
+-        my $msg = "Fixing $application configuration";
+-        $msg .= "from node", $node_to_fix->name if $path;
+-        say $msg. "...";
++        say "Fixing from ", $node_to_fix->name, "...";
+         $node_to_fix->apply_fixes($fix_filter);
+     }
+     $request_save = 1;
diff --git a/debian/patches/series b/debian/patches/series
index 3e02045..a9be5fd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix-cryptic-message
 remove-call-to-env
 add_dh_config

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-perl.git



More information about the Pkg-perl-cvs-commits mailing list