<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,12 @@
 python-votesmart changelog
 ==========================
 
-dev
+0.3.0
 -----
 * new votes.getByBillNumber and officials.getStatewide methods
 * Fixed __repr__ so that eval(repr(obj)) == obj for all VotesmartApiObjects
+* zip code lookup methods (contributed by Michael Stephens)
+* fix bugs in installation and elections with a single stage (thanks slinkp)
 
 0.2.1
 -----</diff>
      <filename>CHANGELOG.rst</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@
 &quot;&quot;&quot;
 
 __author__ = &quot;James Turk &lt;jturk@sunlightfoundation.com&gt;&quot;
-__version__ = &quot;0.2.2&quot;
+__version__ = &quot;0.3.0&quot;
 __copyright__ = &quot;Copyright (c) 2009 Sunlight Labs&quot;
 __license__ = &quot;BSD&quot;
 
@@ -41,9 +41,9 @@ class WebAddress(VotesmartApiObject):
     
 class Bio(object):
     def __init__(self, d):
-        self.__dict__.update(d['election'])
+        #self.__dict__.update(d['election'])
         #self.__dict__.update(d['office'])
-        #self.__dict__.update(d['candidate'])
+        self.__dict__.update(d['candidate'])
 
     def __repr__(self):
         return '%s(%r)' % (self.__class__.__name__, self.__dict__)
@@ -78,10 +78,10 @@ class District(VotesmartApiObject):
     
 class Election(VotesmartApiObject):
     def __init__(self, d):
-        stages = [ElectionStage(s) for s in d.pop('stage')]
+        stages = d.pop('stage')
         self.__dict__ = d
-        self.stages = stages
-    
+        self.stages = _result_to_obj(ElectionStage, stages)
+
     def __str__(self):
         return self.name
     </diff>
      <filename>votesmart.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>280a1cb91f2a053b6df7a9c2a185c16af961b3bd</id>
    </parent>
  </parents>
  <author>
    <name>James Turk</name>
    <email>james.p.turk@gmail.com</email>
  </author>
  <url>http://github.com/sunlightlabs/python-votesmart/commit/299a55fe4c4a6c019fe1b29c55cdafcdf06727de</url>
  <id>299a55fe4c4a6c019fe1b29c55cdafcdf06727de</id>
  <committed-date>2009-08-17T08:31:59-07:00</committed-date>
  <authored-date>2009-08-17T08:31:59-07:00</authored-date>
  <message>fix elections with a single stage, closes #3</message>
  <tree>665ed1c981414049a724c313ee19c1ce5bd39ba9</tree>
  <committer>
    <name>James Turk</name>
    <email>james.p.turk@gmail.com</email>
  </committer>
</commit>
