summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-10-15 11:36:41 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-10-15 11:36:41 +0200
commitf4f89cd0080e9ee8632b42a575393ce0b7dbb987 (patch)
tree35b0ce969df56aa4b9f492675a9b5c1bb5427dbc
parent3a7246ab8faa36eb270f28e6b47e1608e587365a (diff)
downloadpython-apt-f4f89cd0080e9ee8632b42a575393ce0b7dbb987.tar.gz
apt/cache.py: add comment
-rw-r--r--apt/cache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt/cache.py b/apt/cache.py
index beebde8a..9842cb2a 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -179,6 +179,7 @@ class Cache(object):
def close(self):
""" Close the package cache """
+ # explicitely free the FDs that _records has open
del self._records
self._records = None