[carton] 212/472: remove unused walk_down
Lucas Kanashiro
kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:38:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
kanashiro-guest pushed a commit to branch master
in repository carton.
commit 2c45cb64fa0b921b49b8b9d46e27ecef8111ae7a
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date: Thu May 30 18:30:06 2013 +0900
remove unused walk_down
---
lib/Carton.pm | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/lib/Carton.pm b/lib/Carton.pm
index 5c30259..cdcf5df 100644
--- a/lib/Carton.pm
+++ b/lib/Carton.pm
@@ -133,22 +133,6 @@ sub is_core {
return version->new($core_ver) >= version->new($want_ver);
};
-sub walk_down_tree {
- my($self, $tree, $cb, $no_warn) = @_;
-
- my %seen;
- $tree->walk_down(sub {
- my($node, $depth, $parent) = @_;
- return $tree->abort if $seen{$node->key}++;
-
- if ($node->metadata->{dist}) {
- $cb->($node->metadata, $depth);
- } elsif (!$self->is_core($node->key, 0) && !$no_warn) {
- warn "Couldn't find ", $node->key, "\n";
- }
- });
-}
-
sub merge_prereqs {
my($self, $prereqs) = @_;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git
More information about the Pkg-perl-cvs-commits
mailing list