From acb6fc8619178f43ccc1d9eb6e3da4a30f70b980 Mon Sep 17 00:00:00 2001
From: "(no author)" <(no author)@8a9318a1-56ba-4d59-b755-99d26321be01>
Date: Fri, 21 Aug 2009 21:38:04 +0000
Subject: [PATCH] fixing the method used to get the user

git-svn-id: https://svn.ssec.wisc.edu/repos/glance/trunk@60 8a9318a1-56ba-4d59-b755-99d26321be01
---
 pyglance/glance/compare.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyglance/glance/compare.py b/pyglance/glance/compare.py
index 1a63ef8..ae8efbd 100644
--- a/pyglance/glance/compare.py
+++ b/pyglance/glance/compare.py
@@ -832,7 +832,7 @@ python -m glance
         
         # get info on who's doing the run and where
         runInfo['machine'] = os.uname()[1] # the name of the machine running the report
-        runInfo['user'] = os.getlogin() # the name of the user running the report
+        runInfo['user'] = os.getenv("LOGNAME") #os.getlogin() # the name of the user running the report
         
         # deal with the input and output files
         outputPath = pathsTemp['out']
-- 
GitLab