™N °G>c sc k Z k l d e f d „ ƒ YZ d „ Z d „ Z 0 d „ Z 8 d „ Z d S( s Ownerc s d „ Z d „ Z RS( Nc sY t i | ƒ h d d <d d <d d <d d <d d <d d <| _ d S( Ns ^\w*$s first_names last_names ^[\w-]*\@[\w.-]+s emails ^([\w-]*\@[\w.-]+|[\d-]*)$s pagers ^[\d-]*$s phones wireless_phone( s NetMapObjects __init__s selfs attribute_map( s selfs NetworkMap/Owners.pys __init__ s c s d GHd S( Nsu INSERT INTO owners (first_name, last_name, email, pager, phone, wireless_phone) VALUES (?,?,?,?,?,?)( ( s selfs NetworkMap/Owners.pys commit s ( s __init__s commit( s NetworkMap/Owners.pys Owner s c s d GHd S( Ns% SELECT * FROM owners WHERE email = ? ( ( s emails NetworkMap/Owners.pys search s c s, d GH+ t | ƒ , d GH- d GHd S( Ns|
( s print_rowss owners( s ownerss NetworkMap/Owners.pys print_table s c sW 0 1 t | ƒ t i j o* 2 x | d 2 r } 3 t | ƒ q( Wn 5 t | ƒ d S( Ni ( s types ownerss typess ListTypes owners print_row( s ownerss owners NetworkMap/Owners.pys print_rows0 s c s‚ 8 9 d GH: d | d | d | d f GH; d | d | d f GH<