Closed holtgrewe closed 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.
if not os.environ.get("<key>"):
""
None
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""
andNone
.