From 83de23bea6a5ffb0c6f9d31cc73a694a477ccf27 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 21 Oct 2014 15:33:17 +0200 Subject: [PATCH] winfreed.py: sort packages by name before processing --- winfreed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winfreed.py b/winfreed.py index ef96bc5..c49de16 100755 --- a/winfreed.py +++ b/winfreed.py @@ -49,7 +49,7 @@ def get_pkg(pkg_file): def process_all(path, cb): - listing = glob.glob(os.path.join(path, '*.ini')) + listing = sorted(glob.glob(os.path.join(path, '*.ini'))) for pkg_file in listing: pkg = get_pkg(pkg_file) if not pkg: -- 2.1.4