cwctl.py
changeset 1219 054bb575c013
parent 1015 b5fdad9208f8
child 1263 01152fffd593
child 1404 971b19de6b85
--- a/cwctl.py	Thu Apr 02 17:35:03 2009 +0200
+++ b/cwctl.py	Thu Apr 02 18:52:08 2009 +0200
@@ -619,7 +619,11 @@
         config = CubicWebConfiguration.config_for(appid)
         config.creating = True # notice we're not starting the server
         config.verbosity = self.config.verbosity
-        config.set_sources_mode(self.config.ext_sources or ('migration',))
+        try:
+            config.set_sources_mode(self.config.ext_sources or ('migration',))
+        except AttributeError:
+            # not a server config
+            pass
         # get application and installed versions for the server and the componants
         print 'getting versions configuration from the repository...'
         mih = config.migration_handler()