* Fixed portage import, fixes #45079.
* Added all sources sync patch from Adam Ashley
<adam_ashley@softhome.net>, fixes #45079.
-
+ * Fixed config dir scanning, suggested by burrelln@colorado.edu,
+ fixes #47390.
2004-02-08 Karl Trygve Kalleberg <karltk@gentoo.org>
* Initial import
self._load_source_info()
def _load_source_info(self):
for x in os.listdir(Config.confdir):
- if x.rfind(".syncsource") > 0:
+ if x.rfind(".syncsource") > 0 and \
+ x.endswith(".syncsource"):
ss = SyncSource(Config.confdir + "/" + x)
self.sources.append(ss)
def list_sources(self):