diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-07-01 15:36:12 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-07-01 15:36:12 +0100 |
commit | bd4fc18987a1d1d1ff8c7a7beb4b92dcfd9e30ed (patch) | |
tree | 591de92d1338c8abbe94aa395b3c7f28162135f4 /schema/parse.py | |
parent | ddd7d8257c786e3284d021a8cf157fe7a547fa41 (diff) | |
download | definitions-bd4fc18987a1d1d1ff8c7a7beb4b92dcfd9e30ed.tar.gz |
schema: Reuse dc:description for 'description' field
Change-Id: I70efb859facb7e118647230e8cbae3a4611da323
Diffstat (limited to 'schema/parse.py')
-rw-r--r-- | schema/parse.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/schema/parse.py b/schema/parse.py index a118e70b..b3561df1 100644 --- a/schema/parse.py +++ b/schema/parse.py @@ -12,6 +12,7 @@ import warnings surf.ns.register(baserock='http://baserock.org/definitions/example-schema#') +surf.ns.register(dc='http://purl.org/dc/terms/') def load_all_morphologies(session, store): @@ -173,7 +174,7 @@ def load_all_morphologies(session, store): cluster.baserock_deploysSystem = deployments if 'description' in contents: - entity.baserock_description = contents['description'] + entity.dc_description = contents['description'] # FIXME: is this needed? why? entity.set_dirty(True) |