gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1740033 - /gump/live/python/gump/core/model/module.py
Date Tue, 19 Apr 2016 23:36:15 GMT
Author: kkolinko
Date: Tue Apr 19 23:36:15 2016
New Revision: 1740033

URL: http://svn.apache.org/viewvc?rev=1740033&view=rev
Log:
Explicitly call ModelObject.complete() on a ModuleScm object,
so that attributes such as "debug", "verbose" are copied from XML Dom into ModelObject.

It looks that setting <git debug="true"/> in r1739765 had no effect: Gump still adds
"--quiet" flag to git commands.

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=1740033&r1=1740032&r2=1740033&view=diff
==============================================================================
--- gump/live/python/gump/core/model/module.py (original)
+++ gump/live/python/gump/core/model/module.py Tue Apr 19 23:36:15 2016
@@ -505,6 +505,7 @@ 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