Ignore:
Timestamp:
9 Apr 2013, 15:36:33 (12 years ago)
Author:
Henrik Bettermann
Message:

Catch AttributeError?: 'module' object has no attribute 'urlencode'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py

    r10069 r10070  
    1818from datetime import datetime
    1919import httplib
     20import urllib
    2021import urllib2
    2122from xml.dom.minidom import parseString
     
    129130    #postdict['RESPONSE_URL'] = 'http://dummy'
    130131    postdict['CONFIRMATION_NO'] = confirmation_number
    131     data = urllib2.urlencode(postdict)
     132    data = urllib.urlencode(postdict)
    132133    payment.conf_number = confirmation_number
    133134    try:
Note: See TracChangeset for help on using the changeset viewer.