Fixed the configuration tests' handling of disabled features.
authorDmitry Shachnev <mitya57@debian.org>
Wed, 16 Aug 2017 08:29:33 +0000 (11:29 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 23 Sep 2017 19:18:04 +0000 (20:18 +0100)
Origin: upstream, changeset 1a7f9ba28fed

Gbp-Pq: Name disabled_features.diff

configure.py

index b24866d0f43932e51d82c7ef5ae12c909222ab3b..8bfdd1ac96853efd38952b48b4901265d2a07cda 100644 (file)
@@ -2168,10 +2168,8 @@ int main(int, char **)
     if source is None:
         for disabled in run_test_program(mname, test, verbose):
             if disabled:
-                inform("Disabled %s features: %s" % (mname,
-                        ', '.join(disabled)))
-
-            target_config.pyqt_disabled_features.extend(disabled)
+                inform("Disabled %s feature: %s" % (mname, disabled))
+                target_config.pyqt_disabled_features.append(disabled)
 
     # Include the module in the build.
     target_config.pyqt_modules.append(mname)