# HG changeset patch # User Jeff Hammel # Date 1716850130 0 # Node ID 5fc59dfa7aec10bf865910b1551cf07a61be6e11 # Parent 9dbdcb1adca12ec12b4598426e3c5caa4ece1e2f no more python2 diff -r 9dbdcb1adca1 -r 5fc59dfa7aec pyloader/factory.py --- a/pyloader/factory.py Tue Nov 03 10:49:55 2020 -0800 +++ b/pyloader/factory.py Mon May 27 22:48:50 2024 +0000 @@ -23,10 +23,8 @@ from configparser import InterpolationSyntaxError from configparser import SafeConfigParser as ConfigParser -try: - string = (str, basestring) -except NameError: - string = (str,) + +string = (str,) __all__ = ['CircularReferenceError', 'PyFactory', 'IniFactory']