Revision e1e7b843 image_creator/os_type/unix.py

b/image_creator/os_type/unix.py
42 42
    sensitive_userdata = [
43 43
        '.bash_history',
44 44
        '.gnupg',
45
        '.ssh',
46
        '.mozilla',
47
        '.thunderbird'
45
        '.ssh'
48 46
    ]
49 47

  
50 48
    def __init__(self, rootdev, ghandler, output):
......
202 200
                fname = "%s/%s" % (homedir, data)
203 201
                if self.g.is_file(fname):
204 202
                    self.g.scrub_file(fname)
203
                elif self.g.is_dir(fname):
204
                    self.foreach_file(fname, self.g.scrub_file, ftype='r')
205 205

  
206 206
# vim: set sta sts=4 shiftwidth=4 sw=4 et ai :

Also available in: Unified diff