summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Gpg.hs
diff options
context:
space:
mode:
authorJoey Hess2016-12-26 12:08:02 -0400
committerJoey Hess2016-12-26 12:09:38 -0400
commit5605c9665e57b22c7415691984f31f75b3337cd9 (patch)
tree8f5790d1bb4dab6220e21449caf6ed1d5f802405 /src/Propellor/Property/Gpg.hs
parent1d868470e4ec6ec6211206003279ac4bc8465c4f (diff)
parent44bf67b7a2da75ef80e32d6409cc41a6ab8b6ffe (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/Gpg.hs')
-rw-r--r--src/Propellor/Property/Gpg.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Propellor/Property/Gpg.hs b/src/Propellor/Property/Gpg.hs
index 74e9df5a..27baa4ba 100644
--- a/src/Propellor/Property/Gpg.hs
+++ b/src/Propellor/Property/Gpg.hs
@@ -2,7 +2,6 @@ module Propellor.Property.Gpg where
import Propellor.Base
import qualified Propellor.Property.Apt as Apt
-import Utility.FileSystemEncoding
import System.PosixCompat
@@ -35,7 +34,6 @@ keyImported key@(GpgKeyId keyid) user@(User u) = prop
( return NoChange
, makeChange $ withHandle StdinHandle createProcessSuccess
(proc "su" ["-c", "gpg --import", u]) $ \h -> do
- fileEncoding h
hPutStr h (unlines keylines)
hClose h
)