def find_issues(issueprefix):
    output = RunGit(['config', '--local', '--get-regexp', ('branch\\..*\\.%s' % issueprefix)], error_ok=True)
    for (key, issue) in [x.split() for x in output.splitlines()]:
        if (issue == target_issue):
            (yield re.sub(('branch\\.(.*)\\.%s' % issueprefix), '\\1', key))
def find_issues(issueprefix):
    output = RunGit(['config', '--local', '--get-regexp', ('branch\\..*\\.%s' % issueprefix)], error_ok=True)
    for (key, issue) in [x.split() for x in output.splitlines()]:
        if (issue == target_issue):
            (yield re.sub(('branch\\.(.*)\\.%s' % issueprefix), '\\1', key))