Changeset 13579 in josm for trunk/scripts


Ignore:
Timestamp:
2018-03-27T18:27:44+02:00 (7 years ago)
Author:
stoecker
Message:

don't issue error when license matches attribution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.groovy

    r13578 r13579  
    559559                            myprintln "+ License URL differs ('${et}' != '${jt}'): ${getDescription(j)}"
    560560                        } else {
    561                             myprintln "* License URL differs ('${et}' != '${jt}'): ${getDescription(j)}"
     561                            def ja = getAttributionUrl(j)
     562                            if (ja && (ja.equals(ethttps) || ja.equals(et+"/") || ja.equals(ethttps+"/"))) {
     563                               myprintln "+ ELI License URL in JOSM Attribution: ${getDescription(j)}"
     564                            } else {
     565                                myprintln "* License URL differs ('${et}' != '${jt}'): ${getDescription(j)}"
     566                            }
    562567                        }
    563568                    }
Note: See TracChangeset for help on using the changeset viewer.