summaryrefslogtreecommitdiff
path: root/configuration.py
diff options
context:
space:
mode:
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2008-10-22 15:20:34 +0200
committerAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2008-10-22 15:20:34 +0200
commitc8390f9ff492cd4338e1479bc8687ec755ace978 (patch)
treef65f4d9a3842bc723dc3b21bb54fefabe7d37dc8 /configuration.py
parente2e4866df21e258de04d268c58d300372a39f487 (diff)
parent25b9cdf5f6e72c7c8aec5ef927cf67ee1a0eeda4 (diff)
downloadlogilab-common-c8390f9ff492cd4338e1479bc8687ec755ace978.tar.gz
import Pierre-Yves David's fixes
Diffstat (limited to 'configuration.py')
-rw-r--r--configuration.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/configuration.py b/configuration.py
index ca3254a..7d6d155 100644
--- a/configuration.py
+++ b/configuration.py
@@ -490,8 +490,7 @@ class OptionsManagerMixIn(object):
"""
if config_file is None:
config_file = self.config_file
- if '~' in config_file:
- config_file = expanduser(config_file)
+ config_file = expanduser(config_file)
if config_file and exists(config_file):
self._config_parser.read([config_file])
elif not self.quiet: