Fix a bug introduced by:
commit
4db1a045a0606bead191a563abc54dfa8352efe0
Author: W. Trevor King <wking@tremily.us>
Date: Wed Aug 29 23:26:17 2012 -0400
Rewrite commands to use bugdirs instead of a single bugdir.
Reported-by: James Spencer <james.s.spencer@gmail.com>
return comp_path(fragment)
def complete_status(command, argument, fragment=None):
- bd = sorted(command._get_bugdirs().items())[1]
+ bd = sorted(command._get_bugdirs().items())[0]
import libbe.bug
return libbe.bug.status_values
def complete_severity(command, argument, fragment=None):
- bd = sorted(command._get_bugdirs().items())[1]
+ bd = sorted(command._get_bugdirs().items())[0]
import libbe.bug
return libbe.bug.severity_values