]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Some changes because of fb_tools.common
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 6 Dec 2018 17:07:42 +0000 (18:07 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 6 Dec 2018 17:07:42 +0000 (18:07 +0100)
lib/webhooks/handler.py

index d22b5d8f275ba86dda16c1261a78e7f414d366de..69da62370041f4a41c56cdba07a8c7bd93bb0cf0 100644 (file)
@@ -33,7 +33,7 @@ from .errors import CommandNotFoundError
 from .obj import BaseObjectError
 from .obj import BaseObject
 
-__version__ = '1.2.0'
+__version__ = '1.2.1'
 
 LOG = logging.getLogger(__name__)
 
@@ -288,7 +288,7 @@ class BaseHandler(BaseObject):
             return os.path.normpath(cmd)
 
         # Checking a relative path
-        for d in caller_search_path():
+        for d in map(str, caller_search_path()):
             if self.verbose > 3:
                 LOG.debug("Searching command in {!r} ...".format(d))
             p = os.path.join(d, cmd)