Mercurial > treepkg
changeset 537:aeccb5774939
contrib: Small bug fixes in delete-old-debs.py.
author | Sascha Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 10 Jan 2011 11:36:55 +0000 |
parents | 8a61185a3357 |
children | 6fb5e8b74414 |
files | contrib/bin/delete-old-debs.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/bin/delete-old-debs.py Mon Jan 10 09:49:34 2011 +0000 +++ b/contrib/bin/delete-old-debs.py Mon Jan 10 11:36:55 2011 +0000 @@ -126,9 +126,9 @@ continue for deb in oldest_debs(deb_dir, keep): - log.debug("remove '%s'" % deb) + log.info("remove '%s'" % deb) remove(deb) - changes = deb.path[:-3] + "changes" + changes = deb[:-3] + "changes" if os.path.isfile(changes): log.info("remove '%s'" % changes) remove(changes)