Change ExtLoader to only handle I/O errors
authorIustin Pop <iustin@google.com>
Wed, 30 Sep 2009 00:08:35 +0000 (02:08 +0200)
committerIustin Pop <iustin@google.com>
Wed, 30 Sep 2009 00:12:17 +0000 (02:12 +0200)
commit1cf9747405d2d83aff039e980edfd633c53edd57
treed804c6c5a35c7e46260bf07895330517915443d1
parentcf924b6d3f9fd1e1b95cf5cda8a38e077a5de7a9
Change ExtLoader to only handle I/O errors

Due to the Control.Exception changes between 6.8 and 6.10, using it
portably is difficult. Since we're only interested in handling I/O
errors, we can use prelude's catch and not have to deal with
Control.Exception at all.

The use in Luxi.hs where we just use bracket is fine across the two
versions, so we keep that.
Ganeti/HTools/ExtLoader.hs