Skip to content

Commit 8783597

Browse files
authored
nit: literal constant
replace one remaining literal `'*'` with `GLOB_PATHSTEP`
1 parent 3d86fe8 commit 8783597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trove/render/simple_csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _column_paths(self) -> Iterator[Propertypath]:
7878
_pathlists: list[Iterable[Propertypath]] = []
7979
if self.trove_params is not None: # hacks
8080
if GLOB_PATHSTEP in self.trove_params.attrpaths_by_type:
81-
_pathlists.append(self.trove_params.attrpaths_by_type['*'])
81+
_pathlists.append(self.trove_params.attrpaths_by_type[GLOB_PATHSTEP])
8282
if isinstance(self.trove_params, ValuesearchParams):
8383
_expected_card_types = set(self.trove_params.valuesearch_type_iris())
8484
elif isinstance(self.trove_params, CardsearchParams):

0 commit comments

Comments
 (0)