Trees | Indices | Help |
---|
|
1 from flask_script import Command, Option 2 from coprs import db 3 from coprs.logic.coprs_logic import MockChrootsLogic 4 57 8 """ 9 Add comment to a mock_chroot. 10 """ 112413 chroot = MockChrootsLogic.get_from_name(chrootname).first() 14 if not chroot: 15 print("There is no mock chroot named {0}.".format(chrootname)) 16 return 17 chroot.comment = comment 18 db.session.commit()19 20 option_list = ( 21 Option("chrootname"), 22 Option("comment"), 23 )
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |