FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 03-16-2009, 11:38 PM
David Cantrell
 
Default Only schedule implicit format destruction if there is formatting to destroy.

Ack

On 03/16/2009 12:54 PM, David Lehman wrote:

No need to schedule unneeded actions for devices that are initially
clean.
---
storage/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index e4a7d43..943d2c3 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -575,7 +575,7 @@ class Storage(object):

def destroyDevice(self, device):
""" Schedule destruction of a device. """
- if device.format.exists:
+ if device.format.exists and device.format.type:
# schedule destruction of any formatting while we're at it
self.devicetree.registerAction(ActionDestroyFormat (device))




--
David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Tue Mar 17 03:30:02 2009
Return-path: <ubuntu-users-bounces@lists.ubuntu.com>
Envelope-to: tom@linux-archive.org
Delivery-date: Tue, 17 Mar 2009 02:35:19 +0200
Received: from chlorine.canonical.com ([91.189.94.204]:43410)
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <ubuntu-users-bounces@lists.ubuntu.com>)
id 1LjNH3-0006j4-S0
for tom@linux-archive.org; Tue, 17 Mar 2009 02:35:18 +0200
Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com)
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <ubuntu-users-bounces@lists.ubuntu.com>)
id 1LjNLP-0004v9-Nx; Tue, 17 Mar 2009 00:39:47 +0000
Received: from rv-out-0708.google.com ([209.85.198.249])
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <evuraan@gmail.com>) id 1LjNLJ-0004uu-7k
for ubuntu-users@lists.ubuntu.com; Tue, 17 Mar 2009 00:39:41 +0000
Received: by rv-out-0708.google.com with SMTP id k29so1585318rvb.14
for <ubuntu-users@lists.ubuntu.com>;
Mon, 16 Mar 2009 17:39:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.141.179.5 with SMTP id g5mr2553031rvp.76.1237250379903; Mon,
16 Mar 2009 17:39:39 -0700 (PDT)

In-Reply-To: <49BE93F2.3030405@dinamis.com>
References: <297712.26531.qm@web23602.mail.ird.yahoo.com>
<49BE93F2.3030405@dinamis.com>
Date: Mon, 16 Mar 2009 17:39:39 -0700
Message-ID: <6fbcd0710903161739n3027bf03w283d424e1bb57c46@mail .gmail.com>
Subject: Re: how to configure local repository
From: =?UTF-8?B?RXZ1cmFhbjo64LSP4LS14LWC4LSw4LS+4LSo4LWN4oCNIA ==?=
<evuraan@gmail.com>
To: "Ubuntu user technical support,
not for general discussions" <ubuntu-users@lists.ubuntu.com>
X-BeenThere: ubuntu-users@lists.ubuntu.com
X-Mailman-Version: 2.1.8
Precedence: list
Reply-To: "Ubuntu user technical support,
not for general discussions" <ubuntu-users@lists.ubuntu.com>
List-Id: "Ubuntu user technical support,
not for general discussions" <ubuntu-users.lists.ubuntu.com>
List-Unsubscribe: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=unsubscribe>
List-Archive: <https://lists.ubuntu.com/archives/ubuntu-users>
List-Post: <mailto:ubuntu-users@lists.ubuntu.com>
List-Help: <mailto:ubuntu-users-request@lists.ubuntu.com?subject=help>
List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: ubuntu-users-bounces@lists.ubuntu.com
Errors-To: ubuntu-users-bounces@lists.ubuntu.com

dHJpZWQgYXB0LWNhY2hlIHRoZW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+IHRpbWUgdHJ5
aW5nIHRvIGdldCBhcHQtcHJveHkgd29ya2luZyBvbiA4LjA0IG J1dCBpdCB3YXMgYnJva2VuLiBT
ZXQgdXAKPiB0aGUgInBhdGhfbWFwIiBpbiAvZXRjL2FwdC1jYW NoZXIvYXB0LWNhY2hlci5jb25m
IHNvIHRoYXQgeW91IGNhbiBwb2ludAo+IHRvIGxvY2FsaG9zdC Bmb3IgeW91ciByZXBvIHNvdXJj
ZXMuCj4gLS0KPiBSZWdhcmRzLAo+Cj4gQ2xpZmZvcmQgSWxrYX kKPiBEaW5hbWlzCj4gMTQxOS0z
MjY2IFlvbmdlIFN0Lgo+IFRvcm9udG8sIE9OCj4gQ2FuYWRhIM KgTTROIDNQNgo+Cj4gPGh0dHA6
Ly9kaW5hbWlzLmNvbT4KPiArMSA0MTYtNDEwLTMzMjYKPgo+IC 0tCj4gdWJ1bnR1LXVzZXJzIG1h
aWxpbmcgbGlzdAo+IHVidW50dS11c2Vyc0BsaXN0cy51YnVudH UuY29tCj4gTW9kaWZ5IHNldHRp
bmdzIG9yIHVuc3Vic2NyaWJlIGF0OiBodHRwczovL2xpc3RzLn VidW50dS5jb20vbWFpbG1hbi9s
aXN0aW5mby91YnVudHUtdXNlcnMKPgo+CgotLSAKdWJ1bnR1LX VzZXJzIG1haWxpbmcgbGlzdAp1
YnVudHUtdXNlcnNAbGlzdHMudWJ1bnR1LmNvbQpNb2RpZnkgc2 V0dGluZ3Mgb3IgdW5zdWJzY3Jp
YmUgYXQ6IGh0dHBzOi8vbGlzdHMudWJ1bnR1LmNvbS9tYWlsbW FuL2xpc3RpbmZvL3VidW50dS11
c2Vycwo=
 

Thread Tools




All times are GMT. The time now is 08:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org