Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Create utility to concatenate linux style paths to be evaluated on node #630

Open

Description

@jafreck

Paths that are created on the client, but evaluated on the node need to be in linux style. That is currently done ad-hoc and leads to errors with double slashes occasionally:

# constants.py
SOME_DIR='wd/'
SOME_FILE='file.txt'

# function.py
import constants
path = constants.SOME_DIR + "/" + constants.SOME_FILE

A utility function would help this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions