Merge "Fix storage.hbase.util.prepare_key() for 32-bits system"

This commit is contained in:
Jenkins 2014-11-07 13:56:45 +00:00 committed by Gerrit Code Review
commit 7ce280323c

View File

@ -329,7 +329,7 @@ def prepare_key(*args):
"""
key_quote = []
for key in args:
if isinstance(key, int):
if isinstance(key, six.integer_types):
key = str(key)
key_quote.append(quote(key))
return ":".join(key_quote)