'Constructor for YumList'

def __init__(self, name, query_type, show_duplicates, match_version, ignore_excluders, verbose):

    super(Repoquery, self).__init__(None)
    self.name = name
    self.query_type = query_type
    self.show_duplicates = show_duplicates
    self.match_version = match_version
    self.ignore_excluders = ignore_excluders
    self.verbose = verbose
    if self.match_version:
        self.show_duplicates = True
    self.query_format = '%{version}|%{release}|%{arch}|%{repo}|%{version}-%{release}'
    self.tmp_file = None
