Skip to content

Commit

Permalink
minimally get deploy script working with renamed licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
mlinksva committed Aug 11, 2014
1 parent 9506b57 commit 13db0ad
Show file tree
Hide file tree
Showing 119 changed files with 2,092 additions and 3,470 deletions.
24 changes: 12 additions & 12 deletions bin/deploy.py
Expand Up @@ -27,25 +27,25 @@ def clean(self):
"other-open",
"other-pd",
"other-at",
"cc-nc",
"CC-BY-NC-4.0",
"other-nc",
"other-closed"
]

ckan = [
"notspecified",
"odc-pddl",
"odc-odbl",
"odc-by",
"cc-zero",
"cc-by",
"cc-by-sa",
"gfdl",
"ODC-PDDL-1.0",
"ODbL-1.0",
"ODC-BY-1.0",
"CC0-1.0",
"CC-BY-4.0",
"CC-BY-SA-4.0",
"GFDL-1.3-no-cover-texts-no-invariant-sections",
"other-open",
"other-pd",
"other-at",
"OGL-UK",
"cc-nc",
"OGL-UK-2.0",
"CC-BY-NC-4.0",
"other-nc",
"other-closed"
]
Expand All @@ -56,7 +56,7 @@ def write_group_files(self):
licenses = self.get_licenses()
od = dict([
(id_,data) for id_,data in licenses.items() if
data['is_okd_compliant']
data['od_conformance'] == "approved"
])
od_plus = dict(od)
for id_ in self.od_plus:
Expand All @@ -65,7 +65,7 @@ def write_group_files(self):
ckan = [ licenses[id_] for id_ in self.ckan ]
osi = dict([
(id_,data) for id_,data in licenses.items() if
data['is_osi_compliant']
data['osd_conformance'] == "approved"
])
for name, dict_ in [
('all', licenses),
Expand Down

0 comments on commit 13db0ad

Please sign in to comment.