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 > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-12-2010, 11:03 PM
Hans de Goede
 
Default Don't log the big parted.Partition string every time we do a flag op.

ack.

On 01/13/2010 12:40 AM, David Lehman wrote:

---
storage/devices.py | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index cb68456..61b9116 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1167,32 +1167,28 @@ class PartitionDevice(StorageDevice):
bootable = property(_getBootable, _setBootable)

def flagAvailable(self, flag):
- log_method_call(self, path=self.path, flag=flag,
- part=self.partedPartition)
+ log_method_call(self, path=self.path, flag=flag)
if not self.partedPartition:
return

return self.partedPartition.isFlagAvailable(flag)

def getFlag(self, flag):
- log_method_call(self, path=self.path, flag=flag,
- part=self.partedPartition)
+ log_method_call(self, path=self.path, flag=flag)
if not self.partedPartition or not self.flagAvailable(flag):
return

return self.partedPartition.getFlag(flag)

def setFlag(self, flag):
- log_method_call(self, path=self.path, flag=flag,
- part=self.partedPartition)
+ log_method_call(self, path=self.path, flag=flag)
if not self.partedPartition or not self.flagAvailable(flag):
return

self.partedPartition.setFlag(flag)

def unsetFlag(self, flag):
- log_method_call(self, path=self.path, flag=flag,
- part=self.partedPartition)
+ log_method_call(self, path=self.path, flag=flag)
if not self.partedPartition or not self.flagAvailable(flag):
return



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

Thread Tools




All times are GMT. The time now is 09:34 PM.

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