From: karltk Date: Fri, 10 Sep 2004 09:32:10 +0000 (-0000) Subject: Fixes #47390 X-Git-Tag: gentoolkit-0.2.4.3~372 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd097414d04a8420484e5be647ee4fd12d1254a1;p=gentoolkit.git Fixes #47390 svn path=/; revision=130 --- diff --git a/trunk/src/gensync/ChangeLog b/trunk/src/gensync/ChangeLog index 266346b..2739cd2 100644 --- a/trunk/src/gensync/ChangeLog +++ b/trunk/src/gensync/ChangeLog @@ -2,7 +2,8 @@ * Fixed portage import, fixes #45079. * Added all sources sync patch from Adam Ashley , fixes #45079. - + * Fixed config dir scanning, suggested by burrelln@colorado.edu, + fixes #47390. 2004-02-08 Karl Trygve Kalleberg * Initial import diff --git a/trunk/src/gensync/gensync b/trunk/src/gensync/gensync index 177665f..bfc9b93 100755 --- a/trunk/src/gensync/gensync +++ b/trunk/src/gensync/gensync @@ -119,7 +119,8 @@ class SyncSourceManager: 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):