summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/cache.cc b/python/cache.cc
index 5c1760d4..5e2d9819 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -637,8 +637,6 @@ static PyObject *PackageFileAttr(PyObject *Self,char *Name)
return Py_BuildValue("i",(File->Flags & pkgCache::Flag::NotAutomatic) != 0);
else if (strcmp("ID",Name) == 0)
return Py_BuildValue("i",File->ID);
- /* mtime is really a cookie these days and has no meaning outside the
- list handlers */
PyErr_SetString(PyExc_AttributeError,Name);
return 0;