From b74c1967aad33573f83a0cf8782ca8bc25967390 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 31 Oct 2013 09:39:29 -0700 Subject: [PATCH] better idiom --- autopkgtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autopkgtest.py b/autopkgtest.py index 0db5b0e..0499335 100644 --- a/autopkgtest.py +++ b/autopkgtest.py @@ -151,7 +151,7 @@ class AutoPackageTest(object): with open(request_path, 'w') as request_file: for line in lines: src = line.split()[0] - if not src in excludes: + if src not in excludes: request_file.write(line) else: if self.britney.options.verbose: