summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2016-03-30 11:06:01 -0400
committerJoey Hess2016-03-30 11:06:01 -0400
commit5473314f57196887117cc45ff066ed4d74115ef2 (patch)
treeea8ba0ac1d00873c05be71e0399f62bd6fd72ffd
parent1c5d113bc77519e71e2c6dc0e75322a4e8a0287d (diff)
show childProperty same as property
-rw-r--r--src/Propellor/Types/Core.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Types/Core.hs b/src/Propellor/Types/Core.hs
index fa939d2b..6fedc47e 100644
--- a/src/Propellor/Types/Core.hs
+++ b/src/Propellor/Types/Core.hs
@@ -74,7 +74,7 @@ data Props metatypes = Props [ChildProperty]
data ChildProperty = ChildProperty Desc (Propellor Result) Info [ChildProperty]
instance Show ChildProperty where
- show = getDesc
+ show p = "property " ++ show (getDesc p)
class IsProp p where
setDesc :: p -> Desc -> p