Re: [PATCH 2/5] Remove no longer used iscsi_get_node_record function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-04-06 at 17:42 +0200, Hans de Goede wrote:
> ---
>  storage/iscsi.py |   11 -----------
>  1 files changed, 0 insertions(+), 11 deletions(-)

Ack.

> 
> diff --git a/storage/iscsi.py b/storage/iscsi.py
> index 3e6dc0a..92f190a 100644
> --- a/storage/iscsi.py
> +++ b/storage/iscsi.py
> @@ -62,17 +62,6 @@ def has_iscsi():
>          return False
>      return True
>  
> -def iscsi_get_node_record(node_settings, record):
> -    for line in node_settings:
> -        if line.startswith(record):
> -            words = line.split(" = ")
> -            if len(words) == 2:
> -                return words[1]
> -            # should never happen but better safe then sorry
> -            break
> -
> -    return None
> -
>  def randomIname():
>      """Generate a random initiator name the same way as iscsi-iname"""
>      

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux