code: def compare_lists(old=None, new=None):
      '''
      Compare before and after results from various salt functions, returning a
      dict describing the changes that were made
      '''
      ret = dict()
      for item in new:
          if item not in old:
              ret['new'] = item
      for item in old:
          if item not in new:
              ret['old'] = item
      return ref compare_lists(old=None, new=None):
      '''
      Compare before and after results from various salt functions, returning a
      dict describing the changes that were made
      '''
      ret = dict()
      for item in new:
          if item not in old:
              ret['new'] = item
      for item in old:
          if item not in new:
              ret['old'] = item
      return ret
docs: Compare before and after results from various salt functions, returning a
      dict describing the changes that were made