|
| | stats.a = a.encode('ascii', 'replace') |
| |
| | stats.author = get_text(manifest, 'author') |
| |
| | stats.authors = collections.defaultdict(list) |
| |
| | stats.b = b.encode('ascii', 'replace') |
| |
| | stats.brief = description_xml.getAttribute('brief').strip() |
| |
| | stats.briefs = collections.defaultdict(int) |
| |
| string | stats.check_urls = '-web' |
| |
| | stats.description = get_text(manifest, 'description').strip() |
| |
| | stats.description_xml = get_element(manifest, 'description') |
| |
| | stats.descriptions = collections.defaultdict(int) |
| |
| list | stats.fields = ['name', 'description', 'brief', 'license', 'url', 'review', 'author'] |
| |
| bool | stats.is_package = True |
| |
| | stats.lengths = collections.defaultdict(int) |
| |
| | stats.license = get_text(manifest, 'license') |
| |
| | stats.licenses = collections.defaultdict(int) |
| |
| | stats.manifest = xml.dom.minidom.parseString(manifest_xml) |
| |
| | stats.manifest_xml = open("%s/manifest.xml"%root, 'r').read() |
| |
| int | stats.n = lengths[field]-len(val)-1 |
| |
| string | stats.name = "Authors" |
| |
| dictionary | stats.node = {'name': package} |
| |
| | stats.package = os.path.basename(root) |
| |
| list | stats.packages = [] |
| |
| | stats.review = None |
| |
| | stats.review_xml = get_element(manifest, 'review') |
| |
| | stats.reviews = collections.defaultdict(int) |
| |
| list | stats.stacks = [] |
| |
| | stats.url = get_text(manifest, 'url') |
| |
| | stats.urls = collections.defaultdict(int) |
| |
| | stats.val = d[field] |
| |