Revision 525bfb36 htools/Ganeti/HTools/ExtLoader.hs
b/htools/Ganeti/HTools/ExtLoader.hs | ||
---|---|---|
1 |
{-| External data loader |
|
1 |
{-| External data loader.
|
|
2 | 2 |
|
3 | 3 |
This module holds the external data loading, and thus is the only one |
4 | 4 |
depending (via the specialized Text\/Rapi\/Luxi modules) on the actual |
... | ... | |
51 | 51 |
import Ganeti.HTools.CLI |
52 | 52 |
import Ganeti.HTools.Utils (sepSplit, tryRead) |
53 | 53 |
|
54 |
-- | Error beautifier |
|
54 |
-- | Error beautifier.
|
|
55 | 55 |
wrapIO :: IO (Result a) -> IO (Result a) |
56 | 56 |
wrapIO = flip catch (return . Bad . show) |
57 | 57 |
|
Also available in: Unified diff