Commits

Marcin Kuzminski committed 26fac32

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

Comments (0)

Files changed (1)

rhodecode/lib/vcs/utils/paths.py

                 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 ''