psychopy/psychopy — pull request #707 by yarikoptic (2014-10-07 20:27:32+00:00)
Title: ENH: more robust checking for a username/uid

This should resolve (didnt' check though ;-)) crash if neither USER nor USERNAME is defined. I just followed the docstring promise to return '-1' when undefined