aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-02-27 11:43:24 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-02-27 11:43:24 -0800
commit6659d8174c0d03f2f783b5244e32857857a2e736 (patch)
tree204eb41068aaef839d308688a24769929738ba27
parent8aabff2f44ced77ac8ac318d6060513f32b05e0a (diff)
downloadpaludis-6659d8174c0d03f2f783b5244e32857857a2e736.tar.gz
paludis-6659d8174c0d03f2f783b5244e32857857a2e736.tar.xz
cave: correct 054f41f3d4cb3167fb4f6dfb694d5111e36dcb44
The change was done on an incorrect reading of the code. The callback is meant for per-package invocation, not per metadata key invocation. Restore the correct behaviour.
-rw-r--r--src/clients/cave/cmd_generate_metadata.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_generate_metadata.cc b/src/clients/cave/cmd_generate_metadata.cc
index 955a328..b5b2964 100644
--- a/src/clients/cave/cmd_generate_metadata.cc
+++ b/src/clients/cave/cmd_generate_metadata.cc
@@ -244,7 +244,6 @@ namespace
return;
for (PackageID::MetadataConstIterator m(id->begin_metadata()), m_end(id->end_metadata()); m_end != m; ++m)
- {
try
{
MetadataVisitor v;
@@ -262,8 +261,7 @@ namespace
break;
}
- display_callback(DoneOne());
- }
+ display_callback(DoneOne());
}
}
}