Permalink
Browse files

Handle relative paths in _handle_files() when target file is a relati…

…ve path
  • Loading branch information...
wfn committed May 2, 2013
1 parent 1773eba commit 18a92836fac436b7fdd7f5d3ab10786f55b82c99
Showing with 2 additions and 2 deletions.
  1. +2 −2 stem/descriptor/reader.py
@@ -459,8 +459,8 @@ def _handle_file(self, target, new_processed_files):
try:
last_modified = int(os.stat(target).st_mtime)
last_used = self._processed_files.get(target)
new_processed_files[target] = last_modified
last_used = self._processed_files.get(os.path.abspath(target))
new_processed_files[os.path.abspath(target)] = last_modified
except OSError, exc:
self._notify_skip_listeners(target, ReadFailed(exc))
return

1 comment on commit 18a9283

@wfn

This comment has been minimized.

Owner

wfn commented on 18a9283 May 2, 2013

Please sign in to comment.