# HG changeset patch # User Augie Fackler # Date 1504151862 14400 # Node ID c5de1adc3092d522f412c4555d0e482d3e1a0467 # Parent 83b28c179d19a1b2a982f593d39a764d31907346 svnwrap: clean up whitespace in common diff --git a/hgsubversion/svnwrap/common.py b/hgsubversion/svnwrap/common.py --- 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 -