Skip to content

Commit

Permalink
fix new offenses after master merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Aug 15, 2017
1 parent 8f28ced commit 3364cbe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 2 additions & 0 deletions src/include/packager/storage_include.rb
Expand Up @@ -21,6 +21,8 @@ def ReleaseHDDUsedAsInstallationSource
end
end

Builins.y2milestone "install src partition #{install_src_partition}"

nil
end
end
Expand Down
13 changes: 5 additions & 8 deletions src/lib/y2packager/storage_manager_proxy.rb
Expand Up @@ -37,13 +37,11 @@ class StorageManagerProxy
include Yast::Logger

def initialize
begin
require "y2storage"
@manager = Y2Storage::StorageManager.instance
rescue LoadError
log.info("Y2Storage not available. Fallback values will be used")
@manager = nil
end
require "y2storage"
@manager = Y2Storage::StorageManager.instance
rescue LoadError
log.info("Y2Storage not available. Fallback values will be used")
@manager = nil
end

# Staging devicegraph at Y2Storage::StorageManager or empty devicegraph if
Expand All @@ -67,6 +65,5 @@ def staging_revision
protected

attr_reader :manager

end
end

0 comments on commit 3364cbe

Please sign in to comment.