mirror of
https://github.com/unitedstates/congress-legislators.git
synced 2025-12-19 09:50:37 -05:00
remove a few pyflakes warnings
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
from collections import OrderedDict
|
||||
import copy
|
||||
import csv
|
||||
import rtyaml
|
||||
|
||||
import utils
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ def run():
|
||||
bioguide = "%s%06d" % (letter, num)
|
||||
try:
|
||||
dom = fetch_bioguide_page(bioguide, True)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
break
|
||||
print(bioguide, dom.cssselect("title")[0].text)
|
||||
|
||||
|
||||
@@ -13,11 +13,10 @@ options:
|
||||
'''
|
||||
|
||||
import yaml
|
||||
import sys
|
||||
from urllib.request import urlopen
|
||||
|
||||
import utils
|
||||
from utils import load_data, save_data, yaml_load, yaml_dump
|
||||
from utils import load_data, save_data
|
||||
|
||||
|
||||
# These members have forms in iframes, and Contact-Congress has different
|
||||
|
||||
Reference in New Issue
Block a user