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

Commit

Permalink
Bug 655676 - Preproduction slaves should remove old build directories…
Browse files Browse the repository at this point in the history
… more aggressively. r=catlee.

* Bustage fix
  • Loading branch information
Rail Aliev committed May 12, 2011
1 parent 50b7e3f commit e330f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildfarm/maintenance/purge_builds.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def purge(base_dirs, gigs, ignore, max_age, dry_run=False):
config.read(os.path.expanduser('~/.purge_builds.cfg'))
try:
max_age = config.getint('DEFAULT', 'max_age')
except NoOptionError, ValueError:
except (NoOptionError, ValueError):
pass

cwd = os.path.basename(os.getcwd())
Expand Down

0 comments on commit e330f28

Please sign in to comment.