Browse Source

fix for non-debug mode

Darren Ranalli 19 years ago
parent
commit
7ebfa95b92
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/distributed/ConnectionRepository.py

+ 2 - 1
direct/src/distributed/ConnectionRepository.py

@@ -34,7 +34,8 @@ class ConnectionRepository(
 
 
         self.config = config
         self.config = config
 
 
-        self.setVerbose(self.config.GetBool('verbose-repository', 0))
+        if hasattr(self, 'setVerbose'):
+            self.setVerbose(self.config.GetBool('verbose-repository', 0))
 
 
         # Set this to 'http' to establish a connection to the server
         # Set this to 'http' to establish a connection to the server
         # using the HTTPClient interface, which ultimately uses the
         # using the HTTPClient interface, which ultimately uses the