aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-09-03 18:32:27 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-09-03 18:32:55 +0100
commit6829d50b86eda8a0055f30e312fca1853a1d557c (patch)
tree32ebf7ba6b9d11b2c5ee5d1e227be9a0b13ba986
parentaf3cb24e89302e9b6cb04f15eb6c53aae5be2eb6 (diff)
downloadpaludis-6829d50b86eda8a0055f30e312fca1853a1d557c.tar.gz
paludis-6829d50b86eda8a0055f30e312fca1853a1d557c.tar.xz
oops
-rw-r--r--paludis/environment_factory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/environment_factory.cc b/paludis/environment_factory.cc
index 77c2b14..f898b0a 100644
--- a/paludis/environment_factory.cc
+++ b/paludis/environment_factory.cc
@@ -99,9 +99,9 @@ EnvironmentFactory::create(const std::string & s) const
{
Keys::const_iterator i(_imp->keys.find(f));
if (_imp->keys.end() == i)
- return i->second(suffix);
- else
throw;
+ else
+ return i->second(suffix);
}
else
throw;