Bugfixes
This commit is contained in:
parent
25f0aeedab
commit
ff2a7d9693
@ -109,7 +109,7 @@ class Publisher(PublisherBase):
|
||||
for file in self._publish_settings.included_files:
|
||||
if os.path.basename(file) == '__init__.py' and file not in self._publish_settings.excluded_files:
|
||||
template_name = template.name
|
||||
if template.name == '*' or template.name == '':
|
||||
if template.name == 'all' or template.name == '':
|
||||
template_name = self._get_template_name_from_dirs(file)
|
||||
else:
|
||||
name = self._get_template_name_from_dirs(file)
|
||||
|
@ -36,8 +36,8 @@ class PublisherTest(unittest.TestCase):
|
||||
self._version = Version(2020, 12, 5).to_dict()
|
||||
templates = [
|
||||
Template(
|
||||
'../../publish_templates/*_template.txt',
|
||||
'*',
|
||||
'../../publish_templates/all_template.txt',
|
||||
'all',
|
||||
'',
|
||||
'',
|
||||
'2020',
|
||||
@ -49,7 +49,7 @@ class PublisherTest(unittest.TestCase):
|
||||
self._version
|
||||
),
|
||||
Template(
|
||||
'../../publish_templates/*_template.txt',
|
||||
'../../publish_templates/all_template.txt',
|
||||
'sh_edraft',
|
||||
'common python library',
|
||||
'Library to share common classes and models used at sh-edraft.de',
|
||||
|
Loading…
Reference in New Issue
Block a user