src/main/java: Skip items that have country codes

Originally I wasn't sure if I was going to try to parse each code,
check them against the mapping, and possibly correct them, but it's
easier to just skip items with codes unless we're in "force" mode.
This commit is contained in:
2020-08-01 23:14:19 +03:00
parent 4b553676dd
commit 6228f337e9

View File

@ -143,8 +143,8 @@ public class CountryCodeTagger extends AbstractCurationTask
}
}
} else {
result = itemHandle + ": oh snap, we have countries and codes... not sure what to do";
status = Curator.CURATE_SUCCESS;
result = itemHandle + ": item has country codes, skipping";
status = Curator.CURATE_SKIP;
}
}