Skip to content

Commit

Permalink
Use the correct variable name in include/device_utils.py::run_and_del…
Browse files Browse the repository at this point in the history
…ete_dir_on_exception().
  • Loading branch information
jlebar committed Oct 18, 2012
1 parent 9d87773 commit b708fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/include/device_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def run_and_delete_dir_on_exception(fun, dir):

try:
# Throws if the directory is not empty.
os.rmdir(out_dir)
os.rmdir(dir)
except OSError:
pass

Expand Down

0 comments on commit b708fb6

Please sign in to comment.