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