Skip to content

Commit

Permalink
Less strict Rubocop rules, this is old (formely YCP) code...
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Oct 27, 2023
1 parent 27f370c commit f2bd556
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Lint/UnderscorePrefixedVariableName:

# Offense count: 25
Metrics/AbcSize:
Max: 188
Max: 190

# Offense count: 23
# Configuration parameters: CountComments, ExcludedMethods.
Expand All @@ -40,7 +40,7 @@ Metrics/ClassLength:

# Offense count: 25
Metrics/CyclomaticComplexity:
Max: 46
Max: 50

# Offense count: 27
# Configuration parameters: CountComments, ExcludedMethods.
Expand All @@ -54,7 +54,7 @@ Metrics/ModuleLength:

# Offense count: 24
Metrics/PerceivedComplexity:
Max: 55
Max: 60

# Offense count: 49
# Configuration parameters: EnforcedStyle.
Expand Down
5 changes: 3 additions & 2 deletions src/include/update/rootpart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,9 @@ def RootPartitionDialog(flavor)

# New partition has been mounted
if flavor == :update_dialog && ret == :next
# drop all loaded repositories after going back in SLE, the installation medium is added later
# FIXME: what to do in Leap? we need to keep the already added installation repository... :-/
# drop all loaded repositories after going back in SLE, the installation
# medium is added later FIXME: what to do in Leap? we need to keep the
# already added installation repository... :-/
Pkg.SourceFinishAll if !Y2Packager::MediumType.standard?

# override the current target distribution at the system and use
Expand Down

0 comments on commit f2bd556

Please sign in to comment.