Skip to content

Commit

Permalink
Merge pull request #537 from plone/os_path_sep
Browse files Browse the repository at this point in the history
replace backslash with os.path.sep
  • Loading branch information
me-kell authored Jan 24, 2023
2 parents 41dbec9 + c11a73d commit 7c6323e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changelog
6.3 (unreleased)
----------------

- Nothing changed yet.
- replace backslash with os.path.sep #531 [me-kell]


6.2 (2022-10-28)
Expand Down
2 changes: 1 addition & 1 deletion bobtemplates/plone/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def base_prepare_renderer(configurator):
raise MrBobError("No setup.py found in path!\n")
configurator.variables["package.dottedname"] = configurator.variables[
"package.root_folder"
].split("/")[-1]
].split(os.path.sep)[-1]
configurator.variables["package.namespace"] = configurator.variables[
"package.dottedname"
].split(".")[0]
Expand Down

0 comments on commit 7c6323e

Please sign in to comment.