Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions rpmlint/checks/I18NCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ def is_valid_lang(lang):

class I18NCheck(AbstractCheck):
def check_binary(self, pkg):
files = list(pkg.files.keys())
files.sort()
files = sorted(pkg.files.keys())
locales = [] # list of locales for this packages
webapp = False

Expand Down
3 changes: 1 addition & 2 deletions rpmlint/rpmdiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ def __init__(self, old, new, ignore=None, exclude=None):
# compare the files
old_files_dict = self.__fileIteratorToDict(rpm.files(old))
new_files_dict = self.__fileIteratorToDict(rpm.files(new))
files = list(set(chain(iter(old_files_dict), iter(new_files_dict))))
files.sort()
files = sorted(set(chain(iter(old_files_dict), iter(new_files_dict))))

for f in files:
if self._excluded(f):
Expand Down
Loading