]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh
dh: Avoid compat deprecation warning before option parsing. Closes: #641361
[debhelper.git] / dh
diff --git a/dh b/dh
index dff7f25d4ae438b02e6f9358c380114b085c4b70..3bcd069cadad6593e9d997942f277d5f20d3eb04 100755 (executable)
--- a/dh
+++ b/dh
@@ -268,7 +268,7 @@ matches, the last one in the sequence will be used.
 # Stash this away before init modifies it.
 my @ARGV_orig=@ARGV;
 
-if (compat(8)) {
+if (compat(8, 1)) {
        # python-support was enabled by default before v9.
        # (and comes first so python-central loads later and can disable it).
        unshift @ARGV, "--with=python-support";