Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try:
- if True in [z.endswith('.xml') for z in os.listdir(k)]:
- datasetdictionary[k]['notes'] = 'xmls-already-onmichprod'
- except:
- try:
- if True in [z.endswith('.xml') for z in os.listdir(alt)]:
- datasetdictionary[k]['notes'] = 'xmls-already-on-michprod in' + ' ' + alt
- elif not True in [z.endswith('.xml') for z in os.listdir(alt)]:
- datasetdictionary[k]['notes'] = 'xmls-needed-from-retro'
- except:
- datasetdictionary[k]['notes'] = 'dataset not found under any known alias on michprod'
Add Comment
Please, Sign In to add comment