Fix grouping by version
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from typing import List, Tuple
|
||||
from redminelib.resources import Issue
|
||||
from .utils import get_version
|
||||
|
||||
|
||||
STATUS_TRANSLATION = {
|
||||
@@ -15,10 +16,6 @@ STATUS_TRANSLATION = {
|
||||
}
|
||||
|
||||
|
||||
def get_version(issue: Issue) -> str:
|
||||
return str(getattr(issue, 'fixed_version', '<N/A>'))
|
||||
|
||||
|
||||
def hours_to_human(hours: float) -> str:
|
||||
if hours <= 0:
|
||||
return "0ч"
|
||||
|
||||
Reference in New Issue
Block a user