4
def FindFiles(base=None):
5
"""Scans the directory at base (defaults to home directory)
6
for known files+settings"""
9
"Firefox" : ".mozilla/firefox/",
10
"Thunderbird" : ".thunderbird/",
11
"Thunderbird" : ".mozilla-thunderbird/"
16
base = os.path.expanduser("~")
20
for name,path in db.items():
21
if os.path.exists(base+path):
22
print _("Found %s settings.") % name
23
found.append((name, base+path))