summaryrefslogtreecommitdiff
path: root/src/Propellor/Engine.hs
diff options
context:
space:
mode:
authorJoey Hess2014-07-23 12:33:44 -0400
committerJoey Hess2014-07-23 12:33:44 -0400
commitac46ab4d0c2df3f2f19c9f45b0a8e22122e3fb59 (patch)
treeefd0c4e07373f858d5daedde82bea8621ae3434f /src/Propellor/Engine.hs
parent3d617fd98b981929886498bf881c93e650096248 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Engine.hs')
-rw-r--r--src/Propellor/Engine.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Propellor/Engine.hs b/src/Propellor/Engine.hs
index ed886ef7..a3fc0f30 100644
--- a/src/Propellor/Engine.hs
+++ b/src/Propellor/Engine.hs
@@ -45,7 +45,5 @@ ensureProperty = catchPropellor . propertySatisfy
fromHost :: [Host] -> HostName -> Propellor a -> Propellor (Maybe a)
fromHost l hn getter = case findHost l hn of
Nothing -> return Nothing
- Just h -> liftIO $ do
- print ("fromHost", hn, "using", h)
- Just <$>
- runReaderT (runWithHost getter) h
+ Just h -> liftIO $ Just <$>
+ runReaderT (runWithHost getter) h