Skip to content

Commit

Permalink
Remove unnecessary relpath in emar. Fixes #3525.
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed Jun 10, 2015
1 parent 25f19cf commit 9de07c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emar
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if len(newargs) > 2:
parts = base_name.split('.')
parts[0] += '_' + h
newname = '.'.join(parts)
full_newname = os.path.relpath(os.path.join(dir_name, newname))
full_newname = os.path.join(dir_name, newname)
if not os.path.exists(full_newname):
try: # it is ok to fail here, we just don't get hashing
shutil.copyfile(orig_name, full_newname)
Expand Down

0 comments on commit 9de07c2

Please sign in to comment.