<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -193,7 +193,7 @@ while (some_parents = parents_to_process.first(concurrency)).length &gt; 0
   end
 
   if resp.categoryCount.to_i &gt; 0
-    [resp.categoryArray.category].flatten.each do |cat|
+    resp.categoryArray.each do |cat|
       if cat.categoryLevel.to_i == seek_depth
         if cat.leafCategory == &quot;false&quot;
           parents_to_process &lt;&lt; { :id =&gt; cat.categoryID, :depth =&gt; cat.categoryLevel.to_i }</diff>
      <filename>contrib/get_and_store_ebay_categories.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>00999fc944ae05435099db4e8c32f2db2a7d3f2a</id>
    </parent>
  </parents>
  <author>
    <name>Garry Dolley</name>
    <email>gdolley@arpnetworks.com</email>
  </author>
  <url>http://github.com/up_the_irons/ebay4r/commit/277b37ac9b8a09eba954f5e748ab21478f8d31c6</url>
  <id>277b37ac9b8a09eba954f5e748ab21478f8d31c6</id>
  <committed-date>2008-03-28T04:42:11-07:00</committed-date>
  <authored-date>2008-03-28T04:42:11-07:00</authored-date>
  <message>Small v1.0 fix for contrib/get_and_store_ebay_categories.rb

I'm not sure if the rest of this script will actually still work for eBay4R v1.0
and above.  Notice it was written over 2 years ago.  eBay may have changed
some of its category attributes since then.

I don't have time to verify, if someone can please let me know if they get it
working and/or send me a patch, I'd appreciate it.</message>
  <tree>51de13259c77fcbe04b7604d6006c3f6b9328257</tree>
  <committer>
    <name>Garry Dolley</name>
    <email>gdolley@arpnetworks.com</email>
  </committer>
</commit>
