Use basestring instead of str and unicode

This commit is contained in:
Laurent Bachelier 2010-11-12 18:52:50 +01:00
commit e5d4047016
4 changed files with 4 additions and 4 deletions

View file

@ -61,7 +61,7 @@ class LCLBrowser(BaseBrowser):
return self.page.get_list()
def get_account(self, id):
assert isinstance(id, (str, unicode))
assert isinstance(id, basestring)
l = self.get_accounts_list()
for a in l: