irods / irods_capability_automated_ingest

Other
12 stars 16 forks source link

os.environ entries cannot be None #147

Closed holtgrewe closed 3 years ago

holtgrewe commented 3 years ago

https://github.com/irods/irods_capability_automated_ingest/blob/4207df77bd763838aab57f08081eda8900bcb400/irods_capability_automated_ingest/irods_sync.py#L31

Rather use if not os.environ.get("<key>"): and rely on pythonic truthyness of "" and None.