Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed Sep 12, 2018
1 parent 6ec9d20 commit 9f1045c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/modules/Update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def ProductsCompatible
found = Builtins.find(to_install) { |u| u == i }
found != nil
end
@_products_compatible = equal_product != nil
@_products_compatible = equal_product != nil
# no product name found
# bugzilla #218720, valid without testing according to comment #10
else
Expand Down Expand Up @@ -430,7 +430,7 @@ def GetProductName

# Remove 'Beta...' from product release
if Builtins.regexpmatch(old_name, "Beta")
old_name = Builtins.regexpsub(old_name, "^(.*)[ \t]+Beta.*$", "\\1")
old_name = Builtins.regexpsub(old_name, "^(.*)[ \t]+Beta.*$", "\\1")
# Remove 'Alpha...' from product release
elsif Builtins.regexpmatch(old_name, "Alpha")
old_name = Builtins.regexpsub(old_name, "^(.*)[ \t]+Alpha.*$", "\\1")
Expand Down Expand Up @@ -467,7 +467,7 @@ def GetProductName
Installation.installedVersion,
"major",
Builtins.tointeger(inst_ver)
)
)
# openSUSE
elsif Builtins.regexpmatch(inst_ver, "^[0123456789]+.[0123456789]+$")
Ops.set(
Expand Down Expand Up @@ -550,7 +550,7 @@ def GetProductName
Ops.subtract(num, 1),
0
)
end
end
# default for !Stage::normal
else
update_to_source = Packages.GetBaseSourceID
Expand Down Expand Up @@ -624,7 +624,7 @@ def GetProductName
Installation.updateVersion,
"major",
Builtins.tointeger(new_ver)
)
)
# openSUSE
elsif Builtins.regexpmatch(new_ver, "^[0123456789]+.[0123456789]$")
Ops.set(
Expand Down

0 comments on commit 9f1045c

Please sign in to comment.