Code review comment for ~xnox/autopkgtest-cloud:master

Revision history for this message
Iain Lane (laney) wrote :

That seems a better option to me. If it started to be a problem we could think again then.

I wouldn't merge "just" a check for "linux-*" (literally). It should be something like (untested):

big_pkg = [ fnmatch.fnmatchcase(pkgname, bigpkg) for bigpkg in glob.glob(cfg.get('autopkgtest', 'big_packages').strip().split() ] is not None

or something more efficient maybe, to stop at the first match.

« Back to merge proposal