Return-Path: Delivered-To: apmail-incubator-deltacloud-commits-archive@minotaur.apache.org Received: (qmail 29076 invoked from network); 8 Jul 2010 23:43:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jul 2010 23:43:36 -0000 Received: (qmail 83523 invoked by uid 500); 8 Jul 2010 23:43:36 -0000 Delivered-To: apmail-incubator-deltacloud-commits-archive@incubator.apache.org Received: (qmail 83501 invoked by uid 500); 8 Jul 2010 23:43:36 -0000 Mailing-List: contact deltacloud-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-commits@incubator.apache.org Received: (qmail 83494 invoked by uid 99); 8 Jul 2010 23:43:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 23:43:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 23:43:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 484D12388A3B; Thu, 8 Jul 2010 23:42:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r962274 - in /incubator/deltacloud/trunk/server/lib/deltacloud: base_driver/base_driver.rb drivers/mock/mock_driver.rb Date: Thu, 08 Jul 2010 23:42:41 -0000 To: deltacloud-commits@incubator.apache.org From: lutter@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100708234241.484D12388A3B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lutter Date: Thu Jul 8 23:42:40 2010 New Revision: 962274 URL: http://svn.apache.org/viewvc?rev=962274&view=rev Log: Remove debug prints in base driver and mock driver Modified: incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/base_driver.rb incubator/deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb Modified: incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/base_driver.rb URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/base_driver.rb?rev=962274&r1=962273&r2=962274&view=diff ============================================================================== --- incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/base_driver.rb (original) +++ incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/base_driver.rb Thu Jul 8 23:42:40 2010 @@ -37,7 +37,6 @@ module Deltacloud hw_profile = @hardware_profiles.find{|e| e.name == name} return if hw_profile hw_profile = ::Deltacloud::HardwareProfile.new( name, &block ) - puts hw_profile.inspect @hardware_profiles << hw_profile end Modified: incubator/deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb?rev=962274&r1=962273&r2=962274&view=diff ============================================================================== --- incubator/deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb (original) +++ incubator/deltacloud/trunk/server/lib/deltacloud/drivers/mock/mock_driver.rb Thu Jul 8 23:42:40 2010 @@ -230,14 +230,12 @@ class MockDriver < Deltacloud::BaseDrive end def stop_instance(credentials, id) - puts "STOP INSTANCE #{id}" instance_file = "#{@storage_root}/instances/#{id}.yml" instance_yml = YAML.load( File.read( instance_file ) ) instance_yml[:state] = 'STOPPED' File.open( instance_file, 'w' ) do |f| f << YAML.dump( instance_yml ) end - puts "returning #{instance_yml.inspect}" Instance.new( instance_yml ) end