blob: cd74eae789ca559355c0f75d72a1a02e1362679f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
"""Show a particular bug"""
from libbe import bugdir, cmdutil
import os
def execute(args):
bug_dir = bugdir.tree_root(os.getcwd())
if len(args) !=1:
raise cmdutil.UserError("Please specify a bug id.")
print cmdutil.bug_summary(cmdutil.get_bug(args[0], bug_dir),
list(bug_dir.list()))
|