if op is None:
return
info = user.pwnam(op)
+ if not info.realname:
+ return
os.putenv("GIT_COMMITTER_NAME", info.realname)
os.putenv("GIT_COMMITTER_EMAIL", info.email)
info = user.passwd()
if info is None:
return
+ if not info.realname:
+ return
os.putenv("GIT_AUTHOR_NAME", "%s" % info.realname)
os.putenv("GIT_AUTHOR_EMAIL", "%s" % info.email)
logging.info("GET request to http://%s%s", host, fullpath)
h.request("GET", fullpath)
r = h.getresponse()
+ logging.debug("Response code: %d", r.status)
+ logging.debug("Response headers: %s", r.msg)
data = r.read()
h.close()
return data