summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-09-12 18:52:42 -0400
committerJoey Hess <joey@kitenet.net>2011-09-12 18:52:42 -0400
commit08fd6e5a07b96c2d7792a66458408916b754c97a (patch)
treecb4530fd714e1e7f4dd11e3c46765b644068a4a1 /dh
parent63157c540e451c47bd334c295cd11c576808b5f0 (diff)
dh: Avoid compat deprecation warning before option parsing. Closes: #641361
Diffstat (limited to 'dh')
-rwxr-xr-xdh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh b/dh
index dff7f25..3bcd069 100755
--- 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";