find-junk: add ~/.cache/tracker to list of junk directories

master
neingeist 10 years ago
parent 9273822038
commit eaef668c0f

@ -14,7 +14,8 @@ M = 1024*1024
def junk_dirs(): def junk_dirs():
"""Return directories which potentially contain junk""" """Return directories which potentially contain junk"""
for d in ['~/tmp', '~/.local/share/Trash', '~/rpmbuild', '~/RPM']: for d in ['~/tmp', '~/.local/share/Trash', '~/rpmbuild', '~/RPM',
'~/.cache/tracker']:
d = os.path.expanduser(d) d = os.path.expanduser(d)
if os.path.exists(d): if os.path.exists(d):
yield d yield d

Loading…
Cancel
Save