Mercurial > hgsubversion
changeset 1524:c5de1adc3092
svnwrap: clean up whitespace in common
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 30 Aug 2017 23:57:42 -0400 |
parents | 83b28c179d19 |
children | 3476b7a945fb |
files | hgsubversion/svnwrap/common.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/svnwrap/common.py +++ b/hgsubversion/svnwrap/common.py @@ -108,9 +108,9 @@ class AutoPropsConfig(object): return properties def autoprops_enabled(self): - return (self.config.has_option('miscellany', 'enable-auto-props') + return (self.config.has_option('miscellany', 'enable-auto-props') and self.config.getboolean( 'miscellany', 'enable-auto-props') - and self.config.has_section('auto-props')) + and self.config.has_section('auto-props')) def config_file_path(config_dir): @@ -169,4 +169,3 @@ class SimpleStringIO(object): def close(self): if self._closing: del self._blocks -