summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-02-12 19:17:38 +0200
committerLars Wirzenius <liw@liw.fi>2017-02-12 19:17:38 +0200
commita616b19d0e9e914cf54c411e5026217c61ef3038 (patch)
tree4cd3259559a71b1f522027fb8773308d8a0f0aec
parent189b81df09c3c48a35f1d36542ddc93c9258caf2 (diff)
downloadobnam-a616b19d0e9e914cf54c411e5026217c61ef3038.tar.gz
Update copyright year and log deleted pathnames
-rw-r--r--obnamlib/fmt_ga/tree.py4
1 files changed, 3 insertions, 1 deletions
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 = {}