You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by bo...@apache.org on 2009/02/12 04:28:02 UTC

svn commit: r743611 - in /gump/trunk/python/gump/core: model/repository.py run/gumpenv.py

Author: bodewig
Date: Thu Feb 12 03:28:00 2009
New Revision: 743611

URL: http://svn.apache.org/viewvc?rev=743611&view=rev
Log:
make on Solaris doesn't seem to like --version

Modified:
    gump/trunk/python/gump/core/model/repository.py
    gump/trunk/python/gump/core/run/gumpenv.py

Modified: gump/trunk/python/gump/core/model/repository.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/model/repository.py?rev=743611&r1=743610&r2=743611&view=diff
==============================================================================
--- gump/trunk/python/gump/core/model/repository.py (original)
+++ gump/trunk/python/gump/core/model/repository.py Thu Feb 12 03:28:00 2009
@@ -30,7 +30,7 @@
 class Repository(NamedModelObject, Statable):
     """ 
     
-    A named repository (CVS|SVN|Artifacts|GIT) 
+    A named repository (CVS|SVN|Perforce|Artifacts|GIT) 
     
     """
     def __init__(self,name,dom,workspace):
@@ -46,7 +46,7 @@
         try:
             self.type = typeToLabel[type]
         except:
-            raise RuntimeError, 'Invalid Repository Type:' + str(xml.type)         
+            raise RuntimeError, 'Invalid Repository Type:' + str(xml.type)
 
         if 'cvs'==type:
             self.web=self.getDomChildValue('cvsweb') or \
@@ -66,7 +66,8 @@
                 root=self.getDomChild('root')
                 self.p4port=getDomChildValue(root,'hostname')
             else:
-                raise RuntimeError, 'No Perforce server on P4 repository: ' + self.getName()
+                raise RuntimeError, 'No Perforce server on P4 repository: ' \
+                    + self.getName()
             self.web=self.getDomChildValue('web')
         else:
             if self.hasDomChild('url'):

Modified: gump/trunk/python/gump/core/run/gumpenv.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/run/gumpenv.py?rev=743611&r1=743610&r2=743611&view=diff
==============================================================================
--- gump/trunk/python/gump/core/run/gumpenv.py (original)
+++ gump/trunk/python/gump/core/run/gumpenv.py Thu Feb 12 03:28:00 2009
@@ -182,7 +182,8 @@
 
         self.noMono = self._checkWithDashVersion('mono', "no Mono runtime")
 
-        self.noMake = self._checkWithDashVersion('make', "no make builds")
+        self.noMake = self._checkWithDashVersion('make', "no make builds",
+                                                 "--help")
        
         self.noGit = self._checkWithDashVersion('git',
                                                 'no git repository updates')