From bf0f950458ab3004f78480916208fd336c9ebc90 Mon Sep 17 00:00:00 2001 From: Jason Ziglar Date: Thu, 27 Jul 2017 16:11:31 -0400 Subject: [PATCH] Fix import statement for Python 2. --- pcl/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pcl/__init__.py b/pcl/__init__.py index fa7d71df7..99caea50d 100644 --- a/pcl/__init__.py +++ b/pcl/__init__.py @@ -1,5 +1,8 @@ # XXX do a more specific import! -from ._pcl import * +try: + from ._pcl import * +except ImportError: + from _pcl import * import sys pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy