remove level parameter from __import__ call, it was only introduced in 2.6

This commit is contained in:
Frédéric Péters 2011-05-02 11:13:22 +02:00
parent 391ea3bd45
commit e935580835
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ DUMMY = 'dummy'
def get_backend(kind):
'''Resolve a backend name into a module object'''
module = __import__(kind, globals(), locals(), [], -1)
module = __import__(kind, globals(), locals(), [])
return module.Payment
class Payment(object):