summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_html_packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index f4351797..7c71c8fa 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -123,7 +123,7 @@ def process_packages(packages):
default_view = RBUILD_URI + '/' + pkg + '_' + version + '.rbuild.log'
try:
log_size = os.stat(rbuild).st_size
- except FileNotFoundError:
+ except OSError:
log.warning('The package ' + pkg +
' did not produce any buildlog! Check ' + rbuild)
log_size = 0