diff options
author | Benjamin Drung <bdrung@ubuntu.com> | 2011-08-20 01:12:23 +0200 |
---|---|---|
committer | Benjamin Drung <bdrung@ubuntu.com> | 2011-08-20 01:12:23 +0200 |
commit | cdc346cda7021489f82d9747fb727658cf1d923e (patch) | |
tree | fce2417889a39f490be979a8efb11e774dd859ad | |
parent | 2d5e539950b246362191efa776d4eb3fcb5c3805 (diff) |
dh_xul-ext: Sort list of CSV files to fix test case failures
(LP: #829493).
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | src/dh_xul-ext | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index d6fe93a..08c04e3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mozilla-devscripts (0.28) UNRELEASED; urgency=low + + * dh_xul-ext: Sort list of CSV files to fix test case failures + (LP: #829493). + + -- Benjamin Drung <bdrung@debian.org> Sat, 20 Aug 2011 01:11:08 +0200 + mozilla-devscripts (0.27) unstable; urgency=low * Update package lists for Debian unstable and Ubuntu oneiric. diff --git a/src/dh_xul-ext b/src/dh_xul-ext index 3abaa8c..876d43e 100755 --- a/src/dh_xul-ext +++ b/src/dh_xul-ext @@ -104,7 +104,8 @@ def get_xul_apps(script_name, all_distros): vendor = get_vendor() data_dir = _get_data_dir() if all_distros or vendor == "all": - csv_filenames = glob.glob(os.path.join(data_dir, "xul-app-data.csv.*")) + csv_filenames = sorted(glob.glob(os.path.join(data_dir, + "xul-app-data.csv.*"))) else: csv_filename = os.path.join(data_dir, "xul-app-data.csv." + vendor) if not os.path.isfile(csv_filename): |