<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,9 +15,10 @@ class CollectdProfile
 
     def get(id)
       if found = @profiles.find {|p| p[1][&quot;splatpart&quot;] == id }
-        found = found[1]
+        OpenStruct.new(found[1])
+      else
+        nil
       end
-      OpenStruct.new(found)
     end
 
     def all</diff>
      <filename>lib/collectd-profile.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b1ad940c02a63b6571107295d9d39e6b0553f302</id>
    </parent>
  </parents>
  <author>
    <name>jf</name>
    <email>jfs.world@gmail.com</email>
  </author>
  <url>http://github.com/jf/visage/commit/310064770053fce7343fde120b75f20fb12e3448</url>
  <id>310064770053fce7343fde120b75f20fb12e3448</id>
  <committed-date>2009-09-30T07:06:34-07:00</committed-date>
  <authored-date>2009-09-30T07:06:34-07:00</authored-date>
  <message>make CollectdProfile.get a bit better</message>
  <tree>80939b47d5372a685d251928d9469e1fe64af042</tree>
  <committer>
    <name>jf</name>
    <email>jfs.world@gmail.com</email>
  </committer>
</commit>
