[libconfig-model-dpkg-perl] 01/11: C::M::Dpkg::Copyright: move message at the right place

dod at debian.org dod at debian.org
Fri Jul 3 19:20:12 UTC 2015


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

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

commit 87a05b22d56537939c8590f02b509cdea3c5230d
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Jun 28 21:09:15 2015 +0200

    C::M::Dpkg::Copyright: move message at the right place
    
    Gbp-Dch: Ignore
---
 lib/Config/Model/Dpkg/Copyright.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Config/Model/Dpkg/Copyright.pm b/lib/Config/Model/Dpkg/Copyright.pm
index ece7675..41a18d4 100644
--- a/lib/Config/Model/Dpkg/Copyright.pm
+++ b/lib/Config/Model/Dpkg/Copyright.pm
@@ -101,7 +101,6 @@ sub update ($self, %args) {
     foreach my $old_path (sort keys %old_split_files) {
         # put back data matching an existing dir
         if ($old_path eq '*' or ($old_path =~ m!(.*)/\*$! and $current_dir->is_dir($1))) {
-            say "Note: preserving entry '$old_path'" ;
             $preserved_path{$old_path} = delete $old_split_files{$old_path};
         }
         else {
@@ -179,6 +178,7 @@ sub update ($self, %args) {
 
     # put back preserved data
     foreach my $old_path (sort keys %preserved_path) {
+        say "Note: preserving entry '$old_path'" ;
         $files_obj->fetch_with_id($old_path)->load_data( $preserved_path{$old_path} );
     }
 

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



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