diff --git a/lib/yaml/representer.py b/lib/yaml/representer.py index 9dca41af..93e09b67 100644 --- a/lib/yaml/representer.py +++ b/lib/yaml/representer.py @@ -3,11 +3,12 @@ 'RepresenterError'] from error import * + from nodes import * import datetime -import sys, copy_reg, types +import copy_reg, types class RepresenterError(YAMLError): pass diff --git a/lib3/yaml/representer.py b/lib3/yaml/representer.py index dd144017..3b0b192e 100644 --- a/lib3/yaml/representer.py +++ b/lib3/yaml/representer.py @@ -5,7 +5,7 @@ from .error import * from .nodes import * -import datetime, sys, copyreg, types, base64, collections +import datetime, copyreg, types, base64, collections class RepresenterError(YAMLError): pass diff --git a/setup.py b/setup.py index a1a2baa1..1905fe52 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,6 @@ from distutils.core import setup, Command from distutils.core import Distribution as _Distribution from distutils.core import Extension as _Extension -from distutils.dir_util import mkpath from distutils.command.build_ext import build_ext as _build_ext from distutils.command.bdist_rpm import bdist_rpm as _bdist_rpm from distutils.errors import DistutilsError, CompileError, LinkError, DistutilsPlatformError