Skip to content

Commit

Permalink
Fix issue #632 - IOError in zip command with --path option
Browse files Browse the repository at this point in the history
  • Loading branch information
michilu committed Aug 13, 2012
1 parent 9b5ba32 commit 4d955d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pip/commands/zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def remove_filename_from_pth(self, filename):

def add_filename_to_pth(self, filename):
path = os.path.dirname(filename)
dest = os.path.join(path, filename + '.pth')
dest = filename + '.pth'
if path not in self.paths():
logger.warn('Adding .pth file %s, but it is not on sys.path' % display_path(dest))
if not self.simulate:
Expand Down

0 comments on commit 4d955d5

Please sign in to comment.