/[pac]/pac/PACDefault/PACTool.py
ViewVC logotype

Diff of /pac/PACDefault/PACTool.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by tvon, Sun Oct 12 02:07:51 2003 UTC revision 1.4 by tvon, Sun Oct 12 02:23:19 2003 UTC
# Line 37  class PACTool (UniqueObject, SimpleItem) Line 37  class PACTool (UniqueObject, SimpleItem)
37              fullzip = '%s-%s' % (member.getProperty('zipcode'), member.getProperty('zip4'))              fullzip = '%s-%s' % (member.getProperty('zipcode'), member.getProperty('zip4'))
38          except:          except:
39              return None              return None
40          result = urllib.urlopen('http://www.vote-smart.org/search_zipcode.php?type=zip&keyword=%s' % full_zip)          result = urllib.urlopen('http://www.vote-smart.org/search_zipcode.php?type=zip&keyword=%s' % fullzip)
41    
42          lines = result.read().split('\n')          lines = result.read().split('\n')
43    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26