def name():
- return pwd.getpwuid(os.getuid())[4]
+ return os.environ['USERNAME']
+
+# field 4 of passwd is also used for finger info (phone no., office etc)
+# return pwd.getpwuid(os.getuid())[4]
def c_commentify(str):
return '/* ' + regsub.gsub('^',' ', str) + '\n */';