Skip to content

Commit

Permalink
Make codacy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Aug 8, 2018
1 parent d3cc621 commit 51b0a64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/lib/jenkins_generic_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def archive_old_test_data(machine, mach_comp, test_id_root, scratch_root, test_r
else:
logging.info("Test data is with accepted bounds, {}GB (actual) < {}GB (limit)".format(bytes_of_old_test_data / 1000000000, bytes_allowed / 1000000000))


###############################################################################
def handle_old_test_data(machine, compiler, test_id_root, scratch_root, test_root):
###############################################################################
Expand All @@ -111,7 +110,7 @@ def handle_old_test_data(machine, compiler, test_id_root, scratch_root, test_roo

try:
archive_old_test_data(machine, mach_comp, test_id_root, scratch_root, test_root, old_test_archive)
except:
except Exception:
logging.warning("Archiving of old test data FAILED: {}\nDeleting data instead".format(sys.exc_info()[1]))
delete_old_test_data(mach_comp, test_id_root, scratch_root, test_root, run_area, build_area, archive_area)

Expand Down

0 comments on commit 51b0a64

Please sign in to comment.