[gnue] r10038 - trunk/gnue-common/src/apps

[email protected] Mon, 9 Nov 2009 03:33:37 -0600 (CST)
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2009-11-09 03:33:37 -0600 (Mon, 09 Nov 2009)
New Revision: 10038

Modified:
   trunk/gnue-common/src/apps/GBaseApp.py
Log:
Don't throw an error if connections.conf is not there.


Modified: trunk/gnue-common/src/apps/GBaseApp.py
===================================================================
--- trunk/gnue-common/src/apps/GBaseApp.py	2009-11-08 12:14:13 UTC (rev 10037)
+++ trunk/gnue-common/src/apps/GBaseApp.py	2009-11-09 09:33:37 UTC (rev 10038)
@@ -387,6 +387,8 @@
             else:
                 connections_file = os.path.join(paths.config,
                         "connections.conf")
+                if not os.path.isfile(connections_file):
+                    connections_file = None
 
             backends.initialize_backends(connections_file)