lib/teapot/controller/fetch.rb in teapot-0.7.2 vs lib/teapot/controller/fetch.rb in teapot-0.7.3
- old
+ new
@@ -21,12 +21,11 @@
require 'teapot/controller'
module Teapot
class Controller
def fetch
- context, configuration = load_teapot
-
resolved = Set.new
+ configuration = context.configuration
unresolved = context.unresolved(configuration.packages)
tries = 0
while tries < @options[:maximum_fetch_depth]
configuration.packages.each do |package|