summaryrefslogtreecommitdiff
path: root/lib/thandy/formats.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thandy/formats.py')
-rw-r--r--lib/thandy/formats.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/thandy/formats.py b/lib/thandy/formats.py
index 438b045..cd7cb0a 100644
--- a/lib/thandy/formats.py
+++ b/lib/thandy/formats.py
@@ -579,7 +579,8 @@ THP_PACKAGE_SCHEMA = S.Obj(
platform=S.Opt(S.DictOf(S.AnyStr(), S.AnyStr())),
require_features=S.Opt(S.ListOf(S.AnyStr())),
require_packages=S.Opt(S.ListOf(S.ListOf(S.AnyStr()))),
- scripts=S.Opt(S.DictOf(S.AnyStr(), S.AnyStr())))
+ scripts=S.Opt(S.DictOf(S.AnyStr(),
+ S.ListOf(S.Struct([S.AnyStr(), S.ListOf(S.AnyStr())])))))
PACKAGE_SCHEMA = S.Func(checkPackageFormatConsistency, PACKAGE_SCHEMA)