The following code from post-review doesn't work as expected on Windows Vista
if 'USERPROFILE' in os.environ:
homepath = os.path.join(os.environ["USERPROFILE"], "UserData")
else:
homepath = os.environ["HOME"]
The problem is that the "UserData" directory doesn't exist by default on Vista therefore when post-
review attempts to save any files to this location, it fails.
This issue can be worked around by simply creating the UserData directory - a cleaner solution
would be preferable though.