Skip to content

Commit

Permalink
Merge pull request #633 from MiCHiLU/issues-632-IOError-in-zip-command
Browse files Browse the repository at this point in the history
Fix issue #632 - IOError in zip command with --path option
  • Loading branch information
carljm committed Aug 14, 2012
2 parents 9b5ba32 + 4d955d5 commit 1749343
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 1749343

Please sign in to comment.