Skip to content
This repository has been 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
jafreck opened this issue Jul 30, 2018 · 0 comments
Open
Labels

Comments

@jafreck
Copy link
Member

jafreck commented Jul 30, 2018

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant