Skip to content

Commit

Permalink
Adding EULA acceptance: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rane-rajasi committed Sep 13, 2023
1 parent ac22269 commit 8358000
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/core/src/bootstrap/ConfigurationFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

""" Configure factory. This module populates configuration based on package manager and environment, e.g. TEST/DEV/PROD"""
from __future__ import print_function

import json
import os
import time
from core.src.bootstrap.Constants import Constants
Expand Down Expand Up @@ -93,15 +91,16 @@ def get_bootstrap_configuration(self, env):
configuration_key = str.lower('{0}_config'.format(str(env)))
return self.bootstrap_configurations[configuration_key]

def get_arguments_configuration(self, argv):
@staticmethod
def get_arguments_configuration(argv):
""" Composes the configuration with the passed in arguments. """
arguments_config = {
'execution_arguments': str(argv),
'execution_config': {
'component': ExecutionConfig,
'component_args': ['env_layer', 'composite_logger'],
'component_kwargs': {
'execution_parameters': str(argv),
'execution_parameters': str(argv)
}
}
}
Expand Down
1 change: 0 additions & 1 deletion src/core/src/package_managers/AptitudePackageManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ def get_composite_package_identifier(self, package, package_version):

def install_updates_fail_safe(self, excluded_packages):
return

# endregion

# region Package Information
Expand Down

0 comments on commit 8358000

Please sign in to comment.