Commits

Jannis Leidel committed d6fd6ef

Expand ~ in the logfile path.

Comments (0)

Files changed (1)

pip/basecommand.py

     If the file already exists, a separator will also be printed to
     the file to separate past activity from current activity.
     """
+    filename = os.path.expanduser(filename)
     exists = os.path.exists(filename)
     log_fp = open(filename, 'a')
     if exists: