Skip to content

Commit

Permalink
Handle System namespace different as it provide inner namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed May 15, 2013
1 parent fd63f1d commit d8271e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ruby/ycp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def copy_arg object

def self.import(mname)
modules = mname.split("::")
modules = modules[1..-1] if modules.first == "System" #Handle special System namespace

base = YCP
# Handle multilevel modules like YaPI::Network
Expand Down

0 comments on commit d8271e4

Please sign in to comment.