Skip to content

Commit

Permalink
Merge pull request #245 from ptone/find-links-symlinks
Browse files Browse the repository at this point in the history
resolve symlinks in local files
  • Loading branch information
Carl Meyer committed Oct 23, 2011
2 parents ea60bb7 + a659a9c commit 47f1b2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pip/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ def cache_download(target_file, temp_location, content_type):


def unpack_file(filename, location, content_type, link):
filename = os.path.realpath(filename)
if (content_type == 'application/zip'
or filename.endswith('.zip')
or filename.endswith('.pybundle')
Expand Down

0 comments on commit 47f1b2c

Please sign in to comment.