Skip to content

Commit

Permalink
use globalvar + remove circular ci job
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Jul 19, 2024
1 parent 3fdef72 commit e1ee227
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ jobs:
uses: plone/meta/.github/workflows/test.yml@main
release_ready:
uses: plone/meta/.github/workflows/release_ready.yml@main
circular:
uses: plone/meta/.github/workflows/circular.yml@main

##
# To modify the list of default jobs being created add in .meta.toml:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ parts/
pyvenv.cfg
var/
local.cfg
.python-version

# mxdev
/instance/
Expand Down
1 change: 0 additions & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs = [
"qa",
"test",
"release_ready",
"circular",
]

[gitignore]
Expand Down
5 changes: 3 additions & 2 deletions src/collective/taxonomy/indexer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from Acquisition import aq_base
from Acquisition import aq_parent
from collections.abc import Iterable
from collective.taxonomy import PATH_SEPARATOR
from collective.taxonomy.interfaces import ITaxonomy
from plone import api
from plone.base.interfaces import IPloneSiteRoot
Expand Down Expand Up @@ -62,8 +63,8 @@ def __call__(self):
result = []
for key, value in utility.inverted_data[lang].items():
for found_identifier, found_language, found_path in found:
value_split = value.split("\u241f")
found_split = found_path.split("\u241f")[: len(value_split)]
value_split = value.split(PATH_SEPARATOR)
found_split = found_path.split(PATH_SEPARATOR)[: len(value_split)]
if found_split == value_split and key not in result:
result.append(key)

Expand Down

0 comments on commit e1ee227

Please sign in to comment.