Skip to content

Commit

Permalink
Merge pull request #118 from lesserwhirls/latest
Browse files Browse the repository at this point in the history
Latest dataset issue
  • Loading branch information
dopplershift authored Mar 18, 2017
2 parents 8608992 + eab0e2d commit 9a365b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions siphon/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,7 @@ def _get_latest_cat(catalog_url):
"""
cat = TDSCatalog(catalog_url)
for service in cat.services:
if (service.name.lower() == "latest" and
service.service_type.lower() == "resolver"):
if (service.service_type.lower() == "resolver"):
latest_cat = cat.catalog_url.replace("catalog.xml", "latest.xml")
return TDSCatalog(latest_cat)

Expand Down
2 changes: 1 addition & 1 deletion siphon/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import logging

log = logging.getLogger(__name__)
log.setLevel(logging.WARNING)
log.setLevel(logging.ERROR)


class _SimpleTypes(object):
Expand Down

0 comments on commit 9a365b8

Please sign in to comment.