Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
bug 717889 - Fix cleanup script to be quieter in the face of missing …
Browse files Browse the repository at this point in the history
…symbols. r=ted
  • Loading branch information
Rob Tucker committed Feb 14, 2012
1 parent 757b2a4 commit 6752217
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions buildfarm/breakpad/cleanup-breakpad-symbols.py
Expand Up @@ -98,10 +98,11 @@ def deletefile(f):
if options.dry_run:
print "rm ", f
else:
try:
os.unlink(f)
except OSError:
print >>sys.stderr, "Error removing file: ", f
if os.path.isfile(f):
try:
os.unlink(f)
except OSError:
print >>sys.stderr, "Error removing file: ", f

builds = {}
allfiles = {}
Expand Down

0 comments on commit 6752217

Please sign in to comment.