diff options
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/configinterface.py')
| -rw-r--r-- | xlators/features/marker/utils/syncdaemon/configinterface.py | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/configinterface.py b/xlators/features/marker/utils/syncdaemon/configinterface.py index 7bc1d4731..269bbde67 100644 --- a/xlators/features/marker/utils/syncdaemon/configinterface.py +++ b/xlators/features/marker/utils/syncdaemon/configinterface.py @@ -16,8 +16,11 @@ class GConffile(object):      def update_to(self, dct):          for sect in set([DEF_SECT, self.section]):              if self.config.has_section(sect): -                dct.update(self.config._sections[sect]) - +                for k, v in self.config._sections[sect].iteritems(): +                    if k == '__name__': +                        continue +                    k = k.replace('-', '_') +                    dct[k] = v      def get(self, opt=None):          d = {}          self.update_to(d)  | 
