def get_versions(self):
        """"
        Get supported Python versions
        """
        if not isinstance(self.package.classifiers, list) and \
        not 0 > len(self.package.classifiers):
            return "none found"
        cs = self.package.python_versions
        cs = sorted(set(cs))
        if not len(cs) > 0:
            # assume 2.7
            return "2.7"
        return cs
dataset/ETHPy150Open badges/pypipins/shields/shields.py/PythonVersionsHandler.get_versions/swapped operands of `>`