Skip to content

Commit

Permalink
Some indentation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GAURAVRAMRAKHYANI committed Mar 13, 2024
1 parent 2a9a47d commit 01ebd9d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/core/src/core_logic/PatchInstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ def install_updates(self, maintenance_window, package_manager, simulate=False):
# Check for packages available and install them in batches. Some packages may not be installed due to:
# (a) Not enough time remaining in maintenance window
# (b) Failure during package installation

# Start Batch Patching Phase1
successful_parent_package_install_count_in_batch_patching_phase1 = 0
if max_batch_size_for_packages_phase1 > 0:
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/package_managers/AptitudePackageManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,4 +765,4 @@ def separate_out_esm_packages(self, packages, package_versions):
return non_esm_packages, non_esm_package_versions, ua_esm_required_packages, ua_esm_required_package_versions, ua_esm_required_packages_found

def get_package_install_expected_avg_time_in_minutes(self):
return self.package_install_expected_avg_time_in_minutes
return self.package_install_expected_avg_time_in_minutes

Check warning on line 768 in src/core/src/package_managers/AptitudePackageManager.py

View check run for this annotation

Codecov / codecov/patch

src/core/src/package_managers/AptitudePackageManager.py#L768

Added line #L768 was not covered by tests
2 changes: 1 addition & 1 deletion src/core/src/package_managers/PackageManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,4 @@ def separate_out_esm_packages(self, packages, package_versions):
@abstractmethod
def get_package_install_expected_avg_time_in_minutes(self):
"""Retrieves average time to install package in minutes."""
pass
pass

Check warning on line 477 in src/core/src/package_managers/PackageManager.py

View check run for this annotation

Codecov / codecov/patch

src/core/src/package_managers/PackageManager.py#L477

Added line #L477 was not covered by tests
2 changes: 1 addition & 1 deletion src/core/src/package_managers/YumPackageManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,4 +997,4 @@ def separate_out_esm_packages(self, packages, package_versions):
return packages, package_versions, esm_packages, esm_package_versions, esm_packages_found

def get_package_install_expected_avg_time_in_minutes(self):
return self.package_install_expected_avg_time_in_minutes
return self.package_install_expected_avg_time_in_minutes

Check warning on line 1000 in src/core/src/package_managers/YumPackageManager.py

View check run for this annotation

Codecov / codecov/patch

src/core/src/package_managers/YumPackageManager.py#L1000

Added line #L1000 was not covered by tests
2 changes: 1 addition & 1 deletion src/core/src/package_managers/ZypperPackageManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,4 +839,4 @@ def separate_out_esm_packages(self, packages, package_versions):
return packages, package_versions, esm_packages, esm_package_versions, esm_packages_found

def get_package_install_expected_avg_time_in_minutes(self):
return self.package_install_expected_avg_time_in_minutes
return self.package_install_expected_avg_time_in_minutes

Check warning on line 842 in src/core/src/package_managers/ZypperPackageManager.py

View check run for this annotation

Codecov / codecov/patch

src/core/src/package_managers/ZypperPackageManager.py#L842

Added line #L842 was not covered by tests

0 comments on commit 01ebd9d

Please sign in to comment.