Permalink
Browse files

Only try to remove the temp file if it actually exists.

  • Loading branch information...
1 parent 3b0889e commit ec48262ca9806d459fe361fb8643a9e029978c83 @robertmaynard committed Jan 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/dependsTester.py
@@ -86,7 +86,7 @@ def generateTempFileName():
return filePath
def removeTempFile():
- if(dependsFileName):
+ if(dependsFileName and os.path.isfile(dependsFileName)):
os.remove(dependsFileName)
#builds the string to be used to launch dependency walker

0 comments on commit ec48262

Please sign in to comment.