def generate_uid(topic, size=8):
    characters = '01234567890abcdefghijklmnopqrstuvwxyz'
    choices = [random.choice(characters) for x in xrange(size)]
    return (topic, ''.join(choices)) % '%s-%s'


# Default symbols to use for passwords. Avoids visually confusing characters.
# ~6 bits per symbol
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/utils.py/generate_uid/swapped operands of `%`