diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-29 21:24:50 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-29 21:25:47 +0100 |
commit | 16006874491d1e1492e1337a0e58db43236a7ffb (patch) | |
tree | 05aaef6cebd01bc2cd5b8802a303ddeabbee9794 /setup.py | |
parent | fa2f17526f0999c5081cae577903efef9111a4be (diff) | |
download | cheatdb-16006874491d1e1492e1337a0e58db43236a7ffb.tar.xz |
Add non-free warning
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -359,11 +359,16 @@ for tag in ["Inventory", "Mapgen", "Building", \ licenses = {} for license in ["GPLv2.1", "GPLv3", "LGPLv2.1", "LGPLv3", "AGPLv2.1", "AGPLv3", "Apache", "BSD 3-Clause", "BSD 2-Clause", "CC0", "CC-BY-SA", - "CC-BY", "CC-BY-NC-SA", "MIT", "ZLib"]: + "CC-BY", "MIT", "ZLib"]: row = License(license) licenses[row.name] = row db.session.add(row) +for license in ["CC-BY-NC-SA"]: + row = License(license, False) + licenses[row.name] = row + db.session.add(row) + if test_data: defineDummyData(licenses, tags, ruben) |