[Checkins] SVN: zc.recipe.zope3checkout/trunk/src/zc/recipe/zope3checkout/__init__.py - fixed 'offline' flag test

Christian Theune ct at gocept.com
Thu Jan 4 04:01:01 EST 2007


Log message for revision 71706:
   - fixed 'offline' flag test
  

Changed:
  U   zc.recipe.zope3checkout/trunk/src/zc/recipe/zope3checkout/__init__.py

-=-
Modified: zc.recipe.zope3checkout/trunk/src/zc/recipe/zope3checkout/__init__.py
===================================================================
--- zc.recipe.zope3checkout/trunk/src/zc/recipe/zope3checkout/__init__.py	2007-01-03 23:14:16 UTC (rev 71705)
+++ zc.recipe.zope3checkout/trunk/src/zc/recipe/zope3checkout/__init__.py	2007-01-04 09:00:58 UTC (rev 71706)
@@ -17,7 +17,7 @@
         options = self.options
         location = options['location']
         if os.path.exists(location):
-            if self.buildout.get('offline') == 'true':
+            if self.buildout['buildout'].get('offline') == 'true':
                 return location
             os.chdir(location)
             i, o = os.popen4('svn up -r %s' % options['revision'])
@@ -45,5 +45,3 @@
             ) == 0
 
         return location
-
-                                    



More information about the Checkins mailing list