from ScriptGraph.Helpers.LateBind import LateBind
import os.path


class BindCrabWorkDir(LateBind):

    def __init__(self, crabEdge, suffix=None):
        self.crabEdge = crabEdge
        self.suffix = suffix

    def bind(self, edge):
        if self.suffix:
            return os.path.join(self.crabEdge.crabWorkDir, self.suffix)
        else:
            return self.crabEdge.crabWorkDir

9732d8c68a9e303f4069411f26d56458b526c2af
<mask token>


class BindCrabWorkDir(LateBind):
    <mask token>
    <mask token>

<mask token>


class BindCrabWorkDir(LateBind):

    def __init__(self, crabEdge, suffix=None):
        self.crabEdge = crabEdge
        self.suffix = suffix
    <mask token>

<mask token>


class BindCrabWorkDir(LateBind):

    def __init__(self, crabEdge, suffix=None):
        self.crabEdge = crabEdge
        self.suffix = suffix

    def bind(self, edge):
        if self.suffix:
            return os.path.join(self.crabEdge.crabWorkDir, self.suffix)
        else:
            return self.crabEdge.crabWorkDir

from ScriptGraph.Helpers.LateBind import LateBind
import os.path


class BindCrabWorkDir(LateBind):

    def __init__(self, crabEdge, suffix=None):
        self.crabEdge = crabEdge
        self.suffix = suffix

    def bind(self, edge):
        if self.suffix:
            return os.path.join(self.crabEdge.crabWorkDir, self.suffix)
        else:
            return self.crabEdge.crabWorkDir
