gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1740042 - /gump/live/python/gump/core/model/module.py
Date Wed, 20 Apr 2016 04:19:11 GMT
Author: bodewig
Date: Wed Apr 20 04:19:11 2016
New Revision: 1740042

URL: http://svn.apache.org/viewvc?rev=1740042&view=rev
Log:
make debug and verbose work on scm elements

Modified:
    gump/live/python/gump/core/model/module.py

Modified: gump/live/python/gump/core/model/module.py
URL: http://svn.apache.org/viewvc/gump/live/python/gump/core/model/module.py?rev=1740042&r1=1740041&r2=1740042&view=diff
==============================================================================
--- gump/live/python/gump/core/model/module.py (original)
+++ gump/live/python/gump/core/model/module.py Wed Apr 20 04:19:11 2016
@@ -66,6 +66,10 @@ class ModuleScm(ModelObject):
         # Extract settings
         self.dir = self.getDomAttributeValue('dir')
 
+        # Check for debugging properties
+        self.setDebug(self.domAttributeIsTrue('debug'))
+        self.setVerbose(self.domAttributeIsTrue('verbose'))
+
     def getRootUrl(self):
         url = self.repository.getUrl()
         if url and self.hasDir():
@@ -505,7 +509,6 @@ class Module(NamedModelObject, Statable,
                         self.repository = repo
                         repo.addModule(self)
                         self.scm = create_scm_instance(s, dom, repo)
-                        self.scm.complete()
                     else:
                         self.changeState(STATE_FAILED, REASON_CONFIG_FAILED)
                         self.addError('No such repository [' +  str(repoName) \



Mime
View raw message