From a616b19d0e9e914cf54c411e5026217c61ef3038 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 12 Feb 2017 19:17:38 +0200 Subject: Update copyright year and log deleted pathnames --- obnamlib/fmt_ga/tree.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/obnamlib/fmt_ga/tree.py b/obnamlib/fmt_ga/tree.py index a8798c78..43e6a018 100644 --- a/obnamlib/fmt_ga/tree.py +++ b/obnamlib/fmt_ga/tree.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 Lars Wirzenius +# Copyright 2015-2017 Lars Wirzenius # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ # =*= License: GPL-3+ =*= +import logging import os import obnamlib @@ -166,6 +167,7 @@ class DirectoryObjectCache(object): for pathname, dirobj in self._objs.items(): if not dirobj.is_mutable(): del self._objs[pathname] + logging.debug('Deleted %s from DirObjCache', pathname) def clear(self): self._objs = {} -- cgit v1.2.1