Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Nov 1, 2019
1 parent f9cae3e commit c7dd6dd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added ames/harvesters/.caltechdata.py.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion ames/matchers/eprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def resolver_links(source, keys, outfile=None):
meta = get_eprint(source, eprint_id)
# Ignore errors where the record doesn't exist
if meta != None:
if meta["eprint_status"] not in ["deletion","inbox"]:
if meta["eprint_status"] not in ["deletion", "inbox"]:
new = replace_string(meta, "official_url", "http://", "https://")
if new:
url = (
Expand Down
2 changes: 1 addition & 1 deletion run_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
build_aggregate(month_collection)
aggregate_usage(usage_collection, month_collection)

#keys = dataset.keys(month_collection)
# keys = dataset.keys(month_collection)
today = datetime.today()
last_month = today.replace(day=1) - timedelta(days=1)
keys = [f"{last_month.year}-{last_month.month:02}"]
Expand Down

0 comments on commit c7dd6dd

Please sign in to comment.