aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/names.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2006-02-03 15:32:57 -0500
committerAaron Bentley <abentley@panoramicfeedback.com>2006-02-03 15:32:57 -0500
commit14d6c2732c2e338d9ebc2ae915a078a7c6177f6a (patch)
tree11d80da8bc3a3fa077440f60c1290f672ea5efc6 /libbe/names.py
parentdb395a38b4272a776782a58d06b93051ac6c847d (diff)
parent747c77daa54d0701d3f62ffe80d5bab9efe4c0b9 (diff)
downloadbugseverywhere-14d6c2732c2e338d9ebc2ae915a078a7c6177f6a.tar.gz
Merges kinda working
Diffstat (limited to 'libbe/names.py')
-rw-r--r--libbe/names.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/libbe/names.py b/libbe/names.py
index 19bc2a4..cbcfbf8 100644
--- a/libbe/names.py
+++ b/libbe/names.py
@@ -16,9 +16,14 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import commands
import os
+import sys
+
def uuid():
return commands.getoutput('uuidgen')
def creator():
- return os.environ["LOGNAME"]
+ if sys.platform != "win32":
+ return os.environ["LOGNAME"]
+ else:
+ return os.environ["USERNAME"]