Commits

Jannis Leidel committed d6fd6ef

Expand ~ in the logfile path.

  • Participants
  • Parent commits f0bc3aa

Comments (0)

Files changed (1)

File 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: