diff options
-rwxr-xr-x | bin/reproducible_html_packages.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index 944ea857..d5a74af0 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -210,7 +210,6 @@ def purge_old_pages(): log.info('There is no package named ' + pkg + ' from ' + suite + '/' + arch + ' in the database. ' + 'Removing old page.') - pkg_file=RB_PKG_PATH + '/' + suite + '/' + arch + '/' + page - if os.path.isfile(pkg_file): - os.remove(pkg_file) + os.remove(RB_PKG_PATH + '/' + suite + '/' + arch + '/' + + page) |