Permalink
Browse files

Merge branch 'master' of github.com:sunlightlabs/fiftystates

  • Loading branch information...
2 parents eee2e05 + 9b93048 commit e91ca0495bb2f5848ec6458e63f6c5330306d89a @jamesturk jamesturk committed Sep 1, 2010
Showing with 2 additions and 3 deletions.
  1. +1 −0 docs/index.rst
  2. +1 −3 fiftystates/backend/import_legislators.py
View
@@ -12,6 +12,7 @@ Links
* `State by State Status <http://openstates.sunlightlabs.com/status/>`_
* `Google Group <http://groups.google.com/group/fifty-state-project>`_
* `Issue Tracker <http://code.google.com/p/openstates/issues/list>`_
+ * IRC: #openstates on irc.freenode.net
Use Our Data
------------
@@ -61,9 +61,7 @@ def activate_legislators(state):
'type': 'member'}}}):
active_role = legislator['roles'][0]
- if (active_role['term'] == current_term
- and (not active_role['end_date']
- or active_role['end_date'] > datetime.date.today())):
+ if active_role['term'] == current_term and not active_role['end_date']:
legislator['active'] = True
legislator['party'] = active_role['party']
legislator['district'] = active_role['district']

0 comments on commit e91ca04

Please sign in to comment.