With https pushing, we need to use the USER env var
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
f54ed0f35d
commit
7148f95bf8
1 changed files with 7 additions and 0 deletions
|
@ -80,6 +80,13 @@ def build_stats(commit):
|
|||
|
||||
seen = []
|
||||
|
||||
|
||||
def getlogin():
|
||||
try:
|
||||
return os.getlogin()
|
||||
except:
|
||||
return os.environ['USER']
|
||||
|
||||
# Read in all the rev information git-receive-pack hands us.
|
||||
lines = [line.split() for line in sys.stdin.readlines()]
|
||||
for line in lines:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue