70
70
self.postponed_wis = postponed_wis
71
71
self.done_wis = done_wis
73
def getCardType(self, item):
74
"""Extracts the card type information from an item.
76
Returns the hover text, card type, and modified item text. Assumes
77
that every item will start with a card type."""
79
"[Bug Fix Task]": "[BF]",
83
"[Design Task]": "[DT]",
86
"[Feature Task]": "[FT]",
87
"[Improvement]": "[I]",
88
"[Improvement Task]": "[IT]",
89
"[Insufficient Resources]": "[IR]",
90
"[More Resources Required]": "[MR]",
91
"[Non-coding Task]": "[NC]",
93
"[Sufficient Resourcing]": "[SR]",
95
"[User Story]": "[US]",
98
if ('[' in item) and (']' in item):
99
card_hover = item[:item.find(']') + 1]
100
item = item[len(card_hover):].strip()
102
card_type = type_lookup[card_hover]
104
print("WARNING: type_lookup failed: %s" % (card_hover))
107
return card_hover, card_type, item
74
110
class BlueprintGroup(Blueprint):