mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 16:45:16 +00:00
make it python3.4 compatible
This commit is contained in:
@@ -198,7 +198,7 @@ class CfgAggregator:
|
|||||||
"""
|
"""
|
||||||
dirs = self._split_path_for_key(path)
|
dirs = self._split_path_for_key(path)
|
||||||
prefix = self.dir_prefix if os.path.isdir(path) else self.file_prefix
|
prefix = self.dir_prefix if os.path.isdir(path) else self.file_prefix
|
||||||
key = self.key_sep.join([prefix, *dirs])
|
key = self.key_sep.join([prefix] + dirs)
|
||||||
return self._uniq_key(key, keys)
|
return self._uniq_key(key, keys)
|
||||||
|
|
||||||
def _get_short_key(self, path, keys):
|
def _get_short_key(self, path, keys):
|
||||||
|
|||||||
Reference in New Issue
Block a user