

"""Helpers to handle uuid"""


import uuid


def generate_uuid():
    return unicode(uuid.uuid4()).replace('-', '')



"""Helpers to handle uuid"""


import uuid


def generate_uuid():
    return unicode(uuid.uuid4().hex)

Use uuid.hex instead of reinventing it.
Use uuid.hex instead of reinventing it.

  
  
  """Helpers to handle uuid"""
  
  
  import uuid
  
  
  def generate_uuid():
-     return unicode(uuid.uuid4()).replace('-', '')
+     return unicode(uuid.uuid4().hex)
  
Use uuid.hex instead of reinventing it.
## Code Before:


"""Helpers to handle uuid"""


import uuid


def generate_uuid():
    return unicode(uuid.uuid4()).replace('-', '')

## Instruction:
Use uuid.hex instead of reinventing it.
## Code After:


"""Helpers to handle uuid"""


import uuid


def generate_uuid():
    return unicode(uuid.uuid4().hex)
