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 02-02-2010, 08:47 AM
Hans de Goede
 
Default Remove unused udev_parse_block_entry() function

This is a leftover from having our own udev db reading code.
---
storage/udev.py | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/storage/udev.py b/storage/udev.py
index 2147aca..7ed7cc4 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -122,16 +122,6 @@ def udev_get_block_device(sysfs_path):
else:
return dev

-def udev_parse_block_entry(buf):
- dev = udev_parse_entry(buf)
-
- for (key, value) in dev.iteritems():
- if value.count(" "):
- # eg: DEVLINKS
- dev.update({key: value.split()})
-
- return dev
-

# These are functions for retrieving specific pieces of information from
# udev database entries.
--
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-02-2010, 09:13 AM
Ales Kozumplik
 
Default Remove unused udev_parse_block_entry() function

ACK.

On 02/02/2010 10:47 AM, Hans de Goede wrote:

This is a leftover from having our own udev db reading code.
---
storage/udev.py | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/storage/udev.py b/storage/udev.py
index 2147aca..7ed7cc4 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -122,16 +122,6 @@ def udev_get_block_device(sysfs_path):
else:
return dev

-def udev_parse_block_entry(buf):
- dev = udev_parse_entry(buf)
-
- for (key, value) in dev.iteritems():
- if value.count(" "):
- # eg: DEVLINKS
- dev.update({key: value.split()})
-
- return dev
-

# These are functions for retrieving specific pieces of information from
# udev database entries.


_______________________________________________
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 12:35 PM.

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