Author: reinhard Date: 2010-03-23 10:40:35 -0500 (Tue, 23 Mar 2010) New Revision: 10153
Modified: trunk/gnue-common/src/base/config.py Log: Fixed local config directory name for Windows. Modified: trunk/gnue-common/src/base/config.py =================================================================== --- trunk/gnue-common/src/base/config.py 2010-02-25 10:53:19 UTC (rev 10152) +++ trunk/gnue-common/src/base/config.py 2010-03-23 15:40:35 UTC (rev 10153) @@ -147,7 +147,10 @@ files.append(os.path.join(os.environ['HOME'], '.gnue', realm + '.conf')) # 4. local configuration (etc/*.conf) - files.append(os.path.join('etc', realm + '.conf')) + if os.name = 'posix': + files.append(os.path.join('etc', realm + '.conf')) + else: + files.append(os.path.join('Config', realm + '.conf')) # 5. environment variable location ($GNUE_*) if os.environ.has_key('GNUE_' + realm.upper() + '_CONF'): _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue