aboutsummaryrefslogblamecommitdiffstats
path: root/becommands/close.py
blob: 2344a90e097195e9a5e6637aab11eb613044b46d (plain) (tree)
1
2
3
4
5
6
7
                 


                          


                                  
"""Close a bug"""
from libbe import cmdutil
def execute(args):
    assert(len(args) == 1)
    bug = cmdutil.get_bug(args[0])
    bug.status = "closed"
    bug.save()