subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fitzpatrick, Ben" <ben.fitzpatr...@metoffice.gov.uk>
Subject svnperms.py Config.get method broken
Date Wed, 08 Oct 2014 09:51:45 GMT
Hi everyone,

svnperms.py currently has a bug in the 'get' method of the Config class, on
line 114 in
https://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/svnperms.py?revision=1295006&view=markup:

    def get(self, section, option, default=None):
        return self._sections_dict.get(option, default)

As you can tell by the naming, 'option' is not meant to be used as a key in
'self._sections_dict' ('section' is), and it's then missing a step to actually
extract the option value information.

Cheers,

Ben Fitzpatrick

Mime
View raw message