Fixed py33 errors.

This commit is contained in:
Rory-Finnegan 2014-09-03 19:52:23 -04:00
commit c2dd4a7ee4
3 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ import six
def random_alhpnumeric(length):
return ''.join(unicode(
return ''.join(six.text_type(
random.choice(
string.ascii_letters + string.digits
)) for _ in range(length)
@ -20,7 +20,7 @@ def random_resource_id():
def random_access_key():
return ''.join(unicode(
return ''.join(six.text_type(
random.choice(
string.ascii_uppercase + string.digits
)) for _ in range(16)