Commits

Pior Bastida committed 1d01fd0

Fix wrong priority order when reading multiple configuration files

Comments (0)

Files changed (1)

awstools/__init__.py

     if alternate_config:
         _config.read(os.path.expanduser(alternate_config))
     else:
-        _config.read(['awstools.cfg',
+        _config.read(['/etc/awstools.cfg',
                       os.path.expanduser('~/.awstools.cfg'),
-                      '/etc/awstools.cfg'])
+                      'awstools.cfg'])
     return _config