Skip to content

Commit

Permalink
Avoid the legacy module TypeRepository
Browse files Browse the repository at this point in the history
one more overloaded "type" removed
  • Loading branch information
mvidner committed Dec 8, 2017
1 parent 8109245 commit eb95c29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/network/src/modules/NetworkInterfaces.rb
Expand Up @@ -66,7 +66,6 @@ def main
Yast.import "Map"
Yast.import "Mode"
Yast.import "Netmask"
Yast.import "TypeRepository"
Yast.import "FileUtils"
Yast.import "IP"

Expand Down Expand Up @@ -183,8 +182,7 @@ def main
end

def IsEmpty(value)
value = deep_copy(value)
TypeRepository.IsEmpty(value)
value.nil? ? true : value.empty?
end

def ifcfg_part(ifcfg, part)
Expand Down

0 comments on commit eb95c29

Please sign in to comment.