diff --git a/dynamicserialize/dstypes/com/raytheon/uf/common/dataquery/requests/RequestConstraint.py b/dynamicserialize/dstypes/com/raytheon/uf/common/dataquery/requests/RequestConstraint.py index 1a75690..6bb6538 100644 --- a/dynamicserialize/dstypes/com/raytheon/uf/common/dataquery/requests/RequestConstraint.py +++ b/dynamicserialize/dstypes/com/raytheon/uf/common/dataquery/requests/RequestConstraint.py @@ -208,7 +208,7 @@ class RequestConstraint(object): @staticmethod def _stringify(value): - if type(value) in {str, int, bool, float}: + if isinstance(value, (str, int, long, float)): return str(value) else: # Collections are not allowed; they are handled separately.