From: Frank Brehm Date: Fri, 18 Nov 2022 09:27:39 +0000 (+0100) Subject: Fixing lib/pp_admintools/app/pdns.py X-Git-Tag: 0.7.2^2^2~5 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=a773beefffc919c855a7cca4f2780b24fd378128;p=pixelpark%2Fpp-admin-tools.git Fixing lib/pp_admintools/app/pdns.py --- diff --git a/lib/pp_admintools/app/pdns.py b/lib/pp_admintools/app/pdns.py index 6f0a989..d484c09 100644 --- a/lib/pp_admintools/app/pdns.py +++ b/lib/pp_admintools/app/pdns.py @@ -41,7 +41,7 @@ from ..config.pdns import PdnsConfiguration from ..xlate import XLATOR -__version__ = '0.9.6' +__version__ = '0.9.7' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -281,7 +281,7 @@ class PpPDNSApplication(BaseMailApplication): "The timeout in seconds for the communication with the PowerDNS-API. " "Default: {} seconds.").format(PdnsConfiguration.default_pdns_timeout) pdns_group.add_argument( - '-T', '--timeout', meta=_("SECONDS"), type=int, dest='timeout', + '-T', '--timeout', metavar=_("SECONDS"), type=int, dest='timeout', help=help_msg, )