From ac46ab4d0c2df3f2f19c9f45b0a8e22122e3fb59 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 23 Jul 2014 12:33:44 -0400 Subject: propellor spin --- src/Propellor/Engine.hs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/Propellor/Engine.hs') 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 -- cgit v1.2.3