lsst.daf.butler.core.utils.
stripIfNotNone
Strip leading and trailing whitespace if the given object is not None.
str
Input string.
None
A string with leading and trailing whitespace stripped if s is not None, or None if s is None.
s