Commits

Martin von Löwis committed 64a6706

Restore Py3 support if upload_docs is present.

Comments (0)

Files changed (1)

     # Use local copy of upload_docs, to avoid importing setuptools
     from upload_docs import upload_docs
     cmdclass['upload_docs'] = upload_docs
-except ImportError:
+except (ImportError, SyntaxError):
     pass
 
 version='1.7'