changeset 97:5fc59dfa7aec

no more python2
author Jeff Hammel <k0scist@gmail.com>
date Mon, 27 May 2024 22:48:50 +0000
parents 9dbdcb1adca1
children d59f0425d705
files pyloader/factory.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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']