Skip to content

Commit

Permalink
Formatting in aggregate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jsphpl committed May 4, 2018
1 parent b0a025e commit 319c1cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def main(args):
def aggregate(entry):
"""Aggregate urls of sitemaps from one entry xml sitemap"""
file = urlopen(entry, context=ssl_context)

tree = ElementTree.parse(file)

for sitemap in tree.getroot().findall(TAGS['SITEMAP']):
location = sitemap.find(TAGS['LOCATION'])
if location is not None:
Expand Down

0 comments on commit 319c1cd

Please sign in to comment.