equal
deleted
inserted
replaced
19 """ |
19 """ |
20 |
20 |
21 def iter_config_files (self) : |
21 def iter_config_files (self) : |
22 """ |
22 """ |
23 Iterate over the possible config files for this dir |
23 Iterate over the possible config files for this dir |
|
24 |
|
25 XXX: abstract this |
24 """ |
26 """ |
25 |
27 |
26 yield self.subfile('degal.cfg') |
28 yield self.subfile('degal.cfg') |
27 yield self.subdir('.degal').subfile('cfg') |
|
28 |
29 |
29 def __init__ (self, *args, **kwargs) : |
30 def __init__ (self, *args, **kwargs) : |
30 super(Folder, self).__init__(*args, **kwargs) |
31 super(Folder, self).__init__(*args, **kwargs) |
31 |
32 |
32 # find config |
33 # find config |