Parent Directory
|
Revision Log
|
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 |
|
||||||||
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.26 |