Skip to content

Commit

Permalink
merge from:
Browse files Browse the repository at this point in the history
  • Loading branch information
pjenvey committed Jan 24, 2009
1 parent 324eeb5 commit 57c9420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ def _follow_symlinks(filepath):
filepath = _abspath(filepath)
while os.path.islink(filepath):
filepath = os.path.normpath(
os.path.join(filepath,os.readlink(filepath)))
os.path.join(os.path.dirname(filepath),os.readlink(filepath)))
return filepath

def _syscmd_uname(option,default=''):
Expand Down

0 comments on commit 57c9420

Please sign in to comment.