306: post-review 0.6 doesn't work on Vista

callan+********@famul****** (Google Code) (Is this you? Claim this profile.)
Dec. 24, 2007
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.
david
#1 david
  • +Component-Scripts
chipx86
#2 chipx86
  • +OpSys-Windows
chipx86
#3 chipx86
  • +Milestone-Release1.0
david
#4 david
Fixed in SVN.  Let me know if you have any other problems.
  • +Fixed