Merged changes

This commit is contained in:
Eric Mill
2012-11-08 22:24:01 -05:00
8 changed files with 594 additions and 100 deletions

View File

@@ -1,3 +1,8 @@
# Helpful functions for finding data about members and committees
CURRENT_CONGRESS = 112
import os, errno, sys
import re, htmlentitydefs
import pprint
@@ -156,4 +161,4 @@ yaml.add_representer(OrderedDict, ordered_dict_serializer)
yaml.add_representer(unicode, lambda dumper, value: dumper.represent_scalar(u'tag:yaml.org,2002:str', value))
def yaml_dump(data, path):
yaml.dump(data, open(path, "w"), default_flow_style=False, allow_unicode=True)
yaml.dump(data, open(path, "w"), default_flow_style=False, allow_unicode=True)