Show
Ignore:
Timestamp:
05/19/10 14:10:40 (2 years ago)
Author:
Frederic Lepied <frederic.lepied@…>
Children:
5a52bd004189f04499c0391d5c6164370ea80fdb
Parents:
02a019ce37e905576ea50afe3477d127accbbcfd
git-committer:
Frederic Lepied <frederic.lepied@…> (05/19/10 14:10:40)
Message:

fix bad test to decide if we manage a mac address or an ip

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pxe/addsystem

    r73db309 r55eb9b9  
    2828 
    2929for addr in sys.argv[2:]: 
    30     if addr.index('.') >= 0: 
     30    if '.' in addr: 
    3131        a = simplify_ip(addr) 
    3232    else: