Author: wade
Date: 2006-07-21 23:04:41 -0400 (Fri, 21 Jul 2006)
New Revision: 62892

Modified:
   trunk/release/website/mk-distro-index.py
   trunk/release/website/mk-repos.py
Log:
Oops... send in dict instead of buildenv object


Modified: trunk/release/website/mk-distro-index.py
===================================================================
--- trunk/release/website/mk-distro-index.py    2006-07-22 03:03:21 UTC (rev 
62891)
+++ trunk/release/website/mk-distro-index.py    2006-07-22 03:04:41 UTC (rev 
62892)
@@ -39,7 +39,7 @@
                        vars[i] = env_obj.info[i]
 
        # Generate OC text
-       if utils.get_dict_var('USE_OC', env_obj):
+       if utils.get_dict_var('USE_OC', env_obj.info):
                return_text += """
                <p>
                This distro supports installing Mono using Novell's Red Carpet.
@@ -60,7 +60,7 @@
 
 
        # Generate Yum Text
-       if utils.get_dict_var('USE_YUM', env_obj):
+       if utils.get_dict_var('USE_YUM', env_obj.info):
                return_text += """
                <p>
                This distro supports installing packages via <tt>yum</tt>. 
Putting the
@@ -70,7 +70,7 @@
                """
 
        # Generate yast text
-       if utils.get_dict_var('USE_YAST', env_obj) or 
utils.get_dict_var('USE_ZMD', env_obj):
+       if utils.get_dict_var('USE_YAST', env_obj.info) or 
utils.get_dict_var('USE_ZMD', env_obj.info):
                return_text += """
                <p>
                This distro supports installing packages via <tt>YaST</tt>.  
Add the following installation
@@ -86,7 +86,7 @@
 
        # TODO: Generate zmd text
        # Hmm... zmd can use all of the above sources...
-       if utils.get_dict_var('USE_ZMD', env_obj):
+       if utils.get_dict_var('USE_ZMD', env_obj.info):
                pass
 
                #Only select one category, since they're all valid.

Modified: trunk/release/website/mk-repos.py
===================================================================
--- trunk/release/website/mk-repos.py   2006-07-22 03:03:21 UTC (rev 62891)
+++ trunk/release/website/mk-repos.py   2006-07-22 03:04:41 UTC (rev 62892)
@@ -128,7 +128,7 @@
                
#http://en.opensuse.org/SDB%3AGenerating_YaST_Installation_Sources
                        # Plain cache generated with genIS_PLAINcache in 
yast2-packagemanager package (also liby2util)
                        # REAL yast repo created with create_package_descr in 
autoyast2-utils package
-               if utils.get_dict_var('USE_YAST', distro_obj.info):
+               if utils.get_dict_var('USE_YAST', distro_obj.info):# or 
utils.get_dict_var('USE_ZMD', distro_obj.info):
                        # The PLAINcache file is not cross platform... try a 
'real' yast source
                        #os.system("cd %s; 
/home/wberrier/yast_install/bin/genIS_PLAINcache -f -r .; gzip IS_PLAINcache ;  
cd - " % i)
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to