diff options
Diffstat (limited to 'libbe/command')
-rw-r--r-- | libbe/command/list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/list.py b/libbe/command/list.py index 06249a0..f348d5c 100644 --- a/libbe/command/list.py +++ b/libbe/command/list.py @@ -156,7 +156,7 @@ class List (libbe.command.Command): raise libbe.command.UserError( 'Invalid sort on "%s".\nValid sorts:\n %s' % (cmp, '\n '.join(AVAILABLE_CMPS))) - cmp_list.append(eval('libbe.bug.cmp_%s' % cmp)) + cmp_list.append(getattr(libbe.bug, 'cmp_%s' % cmp)) status = parse_status(params['status']) severity = parse_severity(params['severity'], important=params['important']) |