diff options
| author | ?ric Araujo <merwok@netwok.org> | 2011-11-20 19:45:31 +0100 |
|---|---|---|
| committer | ?ric Araujo <merwok@netwok.org> | 2011-11-20 19:45:31 +0100 |
| commit | 51a3faa30a6e4c8493bc51a2c6de3272fae2ff88 (patch) | |
| tree | 394b7ede35dfb934fa3241ca6efcadc0fe4e0510 /distutils2/compiler/__init__.py | |
| parent | 5bf02c43b4e6e8e8a23bb4b5269200b66ecfc4f2 (diff) | |
| parent | e910765752824482f8659d4f725ebd5fb84cc5ba (diff) | |
| download | disutils2-51a3faa30a6e4c8493bc51a2c6de3272fae2ff88.tar.gz | |
Branch merge
Diffstat (limited to 'distutils2/compiler/__init__.py')
| -rw-r--r-- | distutils2/compiler/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distutils2/compiler/__init__.py b/distutils2/compiler/__init__.py index 071e97b..b3341b1 100644 --- a/distutils2/compiler/__init__.py +++ b/distutils2/compiler/__init__.py @@ -142,7 +142,7 @@ def show_compilers(): compilers = [] for name, cls in _COMPILERS.items(): - if isinstance(cls, basestring): + if isinstance(cls, str): cls = resolve_name(cls) _COMPILERS[name] = cls @@ -178,7 +178,7 @@ def new_compiler(plat=None, compiler=None, dry_run=False, force=False): msg = msg + " with '%s' compiler" % compiler raise PackagingPlatformError(msg) - if isinstance(cls, basestring): + if isinstance(cls, str): cls = resolve_name(cls) _COMPILERS[compiler] = cls |
