From f935f12eb6531fe0720a0108ad2dc565cbfcdf28 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 26 2015 09:19:57 +0000 Subject: Adjust the server to tests the EPEL testing repo before the release one --- diff --git a/mdapi/__init__.py b/mdapi/__init__.py index 2684e4e..4250773 100644 --- a/mdapi/__init__.py +++ b/mdapi/__init__.py @@ -60,7 +60,8 @@ def _get_pkg(branch, name): ''' pkg = None wrongdb = False - for repotype in ['updates-testing', 'updates', None]: + for repotype in ['updates-testing', 'updates', 'testing', None]: + if repotype: dbfile = '%s/mdapi-%s-%s-primary.sqlite' % ( CONFIG['DB_FOLDER'], branch, repotype)