Index: contrib/drush_make_d_o.convert.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush_make/contrib/Attic/drush_make_d_o.convert.inc,v
retrieving revision 1.1.2.8
diff -u -F '^f' -u -F '^f' -r1.1.2.8 drush_make_d_o.convert.inc
--- contrib/drush_make_d_o.convert.inc	30 Nov 2009 00:49:32 -0000	1.1.2.8
+++ contrib/drush_make_d_o.convert.inc	30 Nov 2009 01:28:33 -0000
@@ -37,11 +37,28 @@
   }
 
   function convert() {
-    // Run the regular validation first.  This performs basic syntax
+    // First, check to see if this is a simple project list. This can be
+    // detected by examining the top level array.
+    $is_list = TRUE;
+    $project_array = array();
+    foreach ($this->old_info as $attribute => $attribute_value) {
+      if (empty($attribute_value)) {
+        $projects_array[$attribute] = array();
+      }
+      else {
+        $is_list = FALSE;
+        break;
+      }
+    }
+    if ($is_list) {
+      unset($this->old_info);
+      $this->old_info['projects'] = $projects_array;
+    }
+    // Run the regular validation.  This performs basic syntax
     // validation, and also pre-converts special syntax into a standard
     // format. Since the info file validation doesn't return any data if
     // validation fails, we have to bail here.
-    if (!($this->old_info = drush_make_validate_info_file($this->old_info))) {
+    elseif (!($this->old_info = drush_make_validate_info_file($this->old_info))) {
       return FALSE;
     }
 
@@ -58,7 +75,16 @@
     $errors = FALSE;
 
     // First order of business: convert core version.
-    $this->core = $this->old_info['core'];
+    if (empty($this->old_info['core'])) {
+      // Get latest stable release.
+      list($result, $final_version) = $this->latestVersion('drupal', drush_get_option('drush-make-version-best'));
+      $this->old_info['core_release'] = $final_version;
+      $parts = explode('.', $final_version);
+      $this->core = $parts[0];
+    }
+    else {
+      $this->core = $this->old_info['core'];
+    }
     if (empty($this->old_info['core_release'])) {
       $parts = explode('.', $this->core);
       $core_major = $parts[0];
