ScriptCollection 3.5.58__py3-none-any.whl → 3.5.59__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
31
31
  from .ProgramRunnerPopen import ProgramRunnerPopen
32
32
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
33
33
 
34
- version = "3.5.58"
34
+ version = "3.5.59"
35
35
  __version__ = version
36
36
 
37
37
 
@@ -1902,19 +1902,19 @@ class TasksForCommonProjectStructure:
1902
1902
 
1903
1903
  @GeneralUtilities.check_arguments
1904
1904
  def get_constant_value(self, source_codeunit_folder: str, constant_name: str) -> str:
1905
- self.__sc.assert_is_git_repository(source_codeunit_folder)
1905
+ self.assert_is_codeunit_folder(source_codeunit_folder)
1906
1906
  value_file_relative = self.__get_constant_helper(source_codeunit_folder, constant_name, "path")
1907
1907
  value_file = GeneralUtilities.resolve_relative_path(value_file_relative, os.path.join(source_codeunit_folder, "Other", "Resources", "Constants"))
1908
1908
  return GeneralUtilities.read_text_from_file(value_file)
1909
1909
 
1910
1910
  @GeneralUtilities.check_arguments
1911
1911
  def get_constant_documentation(self, source_codeunit_folder: str, constant_name: str) -> str:
1912
- self.__sc.assert_is_git_repository(source_codeunit_folder)
1912
+ self.assert_is_codeunit_folder(source_codeunit_folder)
1913
1913
  return self.__get_constant_helper(source_codeunit_folder, constant_name, "documentationsummary")
1914
1914
 
1915
1915
  @GeneralUtilities.check_arguments
1916
1916
  def __get_constant_helper(self, source_codeunit_folder: str, constant_name: str, propertyname: str) -> str:
1917
- self.__sc.assert_is_git_repository(source_codeunit_folder)
1917
+ self.assert_is_codeunit_folder(source_codeunit_folder)
1918
1918
  root: etree._ElementTree = etree.parse(os.path.join(source_codeunit_folder, "Other", "Resources", "Constants", f"{constant_name}.constant.xml"))
1919
1919
  results = root.xpath(f'//cps:{propertyname}/text()', namespaces={
1920
1920
  'cps': 'https://projects.aniondev.de/PublicProjects/Common/ProjectTemplates/-/tree/main/Conventions/RepositoryStructure/CommonProjectStructure'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ScriptCollection
3
- Version: 3.5.58
3
+ Version: 3.5.59
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Home-page: https://github.com/anionDev/ScriptCollection
6
6
  Author: Marius Göcke
@@ -5,12 +5,12 @@ ScriptCollection/ProgramRunnerBase.py,sha256=2kMIAqdc65UjBAddOZkzy_aFx9h5roZ5a4b
5
5
  ScriptCollection/ProgramRunnerEpew.py,sha256=4pjEd0r9Fcz3TTDv0MdTSd5KkigYXcWUVI1X43regfU,6477
6
6
  ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
7
7
  ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
8
- ScriptCollection/ScriptCollectionCore.py,sha256=5aLp-2yjIX1oBKO891qi4tFylhkyS6ILPUaSsTwg8W4,111180
9
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=SaX_1ulRQLmO7FzRsIMPXKq48Z7hFYuRJVLi3aJHRj8,212976
8
+ ScriptCollection/ScriptCollectionCore.py,sha256=ewQxK22WBQYWEYAIFW0A1EBjqP1C_ryuKELcbpvHVPs,111180
9
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=JzpwSU89kewGplLwwuM9Yv41XhHev207WYl9dTMhi-w,212964
10
10
  ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
11
11
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- ScriptCollection-3.5.58.dist-info/METADATA,sha256=thH2dW_FlaZFVtJ0KrhOwkBmuKDpt_D-BT2yM8zpY9w,7664
13
- ScriptCollection-3.5.58.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
14
- ScriptCollection-3.5.58.dist-info/entry_points.txt,sha256=AQz2mMJ787Aw5Q_ItC6Q-Mo_DGYlM_OPEkovrgsrRF0,3192
15
- ScriptCollection-3.5.58.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
- ScriptCollection-3.5.58.dist-info/RECORD,,
12
+ ScriptCollection-3.5.59.dist-info/METADATA,sha256=CsmKCOTxJcqQkbuqmnH6oTk92Cu5rh-E3FuWConJI7o,7664
13
+ ScriptCollection-3.5.59.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
14
+ ScriptCollection-3.5.59.dist-info/entry_points.txt,sha256=AQz2mMJ787Aw5Q_ItC6Q-Mo_DGYlM_OPEkovrgsrRF0,3192
15
+ ScriptCollection-3.5.59.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
+ ScriptCollection-3.5.59.dist-info/RECORD,,