From 7fff52bf8666d6c8aef1ac7e6c7a22a455711de4 Mon Sep 17 00:00:00 2001 From: Michael Dawson-Haggerty Date: Thu, 4 Sep 2014 01:06:30 -0400 Subject: [PATCH] cleaned up error message autoreplacement --- port/PyAssimp/pyassimp/helper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/port/PyAssimp/pyassimp/helper.py b/port/PyAssimp/pyassimp/helper.py index 47794298c..b123d813d 100644 --- a/port/PyAssimp/pyassimp/helper.py +++ b/port/PyAssimp/pyassimp/helper.py @@ -153,13 +153,13 @@ def search_library(): if loaded: candidates.append(loaded) if not candidates: - # no library_path found - raise AssimpError("assimp library_path not found") + # no library found + raise AssimpError("assimp library not found") else: # get the newest library_path candidates = map(lambda x: (os.lstat(x[0])[-2], x), candidates) res = max(candidates, key=operator.itemgetter(0))[1] - logger.debug('Using assimp library_path located at ' + res[0]) + logger.debug('Using assimp library located at ' + res[0]) # XXX: if there are 1000 dll/so files containing 'assimp' # in their name, do we have all of them in our address