code: def post_translation(self, query, bug):
          
          ignore = query
  
          # RHBZ _still_ returns component and version as lists, which
          # deviates from upstream. Copy the list values to components
          # and versions respectively.
          if 'component' in bug and "components" not in bug:
              val = bug['component']
              bug['components'] = isinstance(val, list) and val or [val]
              bug['component'] = bug['components'][0]
  
          if 'version' in bug and "versions" not in bug:
              val = bug['version']
              bug['versions'] = isinstance(val, list) and val or [val]
              bug['version'] = bug['versions'][0]
  
          # sub_components isn't too friendly of a format, add a simpler
          # sub_component value
          if 'sub_components' in bug and 'sub_component' not in bug:
              val = bug['sub_components']
              bug['sub_component'] = ""
              if isinstance(val, dict):
                  values = []
                  for vallist in val.values():
                      values += vallist
                  bug['sub_component'] = " ".join(values)
docs: Convert the results of getbug back to the ancient RHBZ value
          formats