Changeset - 26fac32c215d
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-08-06 22:15:01
marcin@python-works.com
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
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/vcs/utils/paths.py
Show inline comments
 
@@ -29,8 +29,9 @@ def get_dir_size(path):
 
                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 ''
0 comments (0 inline, 0 general)