# HG changeset patch # User Marcin Kuzminski # Date 1344284101 -7200 # Node ID 26fac32c215d3a096532797d896cbe126ad633b3 # Parent 78694f9acd31d921dd40492b418e1393f78a3723 Fixed issue with get_user_home function returned None, and some code didn't like that. We really don't need this since it's VCS cli diff -r 78694f9acd31 -r 26fac32c215d rhodecode/lib/vcs/utils/paths.py --- a/rhodecode/lib/vcs/utils/paths.py Sun Aug 05 00:56:00 2012 +0200 +++ b/rhodecode/lib/vcs/utils/paths.py Mon Aug 06 22:15:01 2012 +0200 @@ -29,8 +29,9 @@ pass return size + def get_user_home(): """ Returns home path of the user. """ - return os.getenv('HOME', os.getenv('USERPROFILE')) + return os.getenv('HOME', os.getenv('USERPROFILE')) or ''