Permalink
Browse files

allowing unicode strings in iobject item_list

  • Loading branch information...
1 parent bab5a04 commit b8ba8a8e3fc51f96ad7712f49f0f7d7332379e0f @victortrac victortrac committed Sep 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 boto/mashups/iobject.py
View
@@ -40,7 +40,7 @@ def choose_from_list(self, item_list, search_str='',
n = 1
choices = []
for item in item_list:
- if isinstance(item, str):
+ if isinstance(item, basestring):
print '[%d] %s' % (n, item)
choices.append(item)
n += 1

0 comments on commit b8ba8a8

Please sign in to comment.