Revision 6b88d711 devflow/utils.py

b/devflow/utils.py
80 80
    revid = get_commit_id(branch.commit, branch)
81 81
    revno = len(list(repo.iter_commits()))
82 82
    toplevel = repo.working_dir
83
    config = repo.config_reader()
84
    name = config.get_value("user", "name")
85
    email = config.get_value("user", "email")
83 86

  
84 87
    info = namedtuple("vcs_info", ["branch", "revid", "revno",
85
                                   "toplevel"])
88
                                   "toplevel", "name", "email"])
86 89

  
87 90
    return info(branch=branch.name, revid=revid, revno=revno,
88
                toplevel=toplevel)
91
                toplevel=toplevel, name=name, email=email)
89 92

  
90 93

  
91 94
def get_commit_id(commit, current_branch):

Also available in: Unified diff