Child: [bea16d] (diff)

Download this file

014-add-trove-category-agpl.py    22 lines (17 with data), 595 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
import sys
import logging
from pylons import c
from ming.orm import session
from ming.orm.ormsession import ThreadLocalORMSession
from allura import model as M
log = logging.getLogger(__name__)
def main():
M.TroveCategory(trove_cat_id=670,
trove_parent_id=14,
shortname="agpl",
fullname="Affero GNU Public License",
fullpath="License :: OSI-Approved Open Source :: Affero GNU Public License")
ThreadLocalORMSession.flush_all()
ThreadLocalORMSession.close_all()
if __name__ == '__main__':
main()