Commits

Sebastian Rahlf committed 39b9ace

Bugfix: *user* path is expanded for config files.

Comments (0)

Files changed (1)

amazonproduct/utils.py

     .. _#: http://code.google.com/p/boto/wiki/BotoConfig
     """
     config = SafeConfigParser()
-    config.read([os.path.expandvars(path) for path in BOTO_FILES])
+    config.read([os.path.expanduser(path) for path in BOTO_FILES])
 
     mapper = {
         'access_key': 'aws_access_key_id',
 
     """
     config = SafeConfigParser()
-    config.read([os.path.expandvars(path) for path in CONFIG_FILES])
+    config.read([os.path.expanduser(path) for path in CONFIG_FILES])
 
     if not config.has_section('Credentials'):
         return {}