aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-04-19 08:05:58 +0200
committerGuido Günther <agx@sigxcpu.org>2017-04-23 14:19:46 +0200
commit1832d14861e767158e5fcb7e03ed51e59d4aeaa6 (patch)
tree5a64f985d59b6fa742da573bf56927dbbbbd1595
parent5289b238437131b972dd64f24ce0dded08eb1165 (diff)
Drop long deprecated --no-dch
-rw-r--r--gbp/scripts/import_orig.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/gbp/scripts/import_orig.py b/gbp/scripts/import_orig.py
index f510901..b4d5bf3 100644
--- a/gbp/scripts/import_orig.py
+++ b/gbp/scripts/import_orig.py
@@ -486,12 +486,10 @@ def build_parser(name):
parser.add_config_file_option(option_name="color", dest="color", type='tristate')
parser.add_config_file_option(option_name="color-scheme",
dest="color_scheme")
-
- # Accepted for compatibility
- parser.add_option("--no-dch", dest='no_dch', action="store_true",
- default=False, help="deprecated - don't use.")
parser.add_option("--uscan", dest='uscan', action="store_true",
default=False, help="use uscan(1) to download the new tarball.")
+
+ # Accepted for compatibility
parser.add_option("--download", dest='download', action="store_true",
default=False, help="Ignored. Accepted for compatibility.")
return parser
@@ -509,9 +507,6 @@ def parse_args(argv):
(options, args) = parser.parse_args(argv[1:])
gbp.log.setup(options.color, options.verbose, options.color_scheme)
- if options.no_dch:
- gbp.log.warn("'--no-dch' passed. This is now the default, please remove this option.")
-
if options.download:
gbp.log.warn("Passing --download explicitly is deprecated.")