From fa990f33f5f3a945e172922836ec6522b55412eb Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Mon, 1 Jun 2020 07:12:27 +0200 Subject: [PATCH] added version number --- etherdump/commands/common.py | 2 ++ etherdump/commands/pull.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/etherdump/commands/common.py b/etherdump/commands/common.py index 9a37ecd..a5c867e 100644 --- a/etherdump/commands/common.py +++ b/etherdump/commands/common.py @@ -6,6 +6,8 @@ from urllib.parse import urlparse, urlunparse, urlencode, quote_plus, unquote_pl from urllib.request import urlopen, URLError, HTTPError from html.entities import name2codepoint +VERSION = "0.9" + groupnamepat = re.compile(r"^g\.(\w+)\$") def splitpadname (padid): m = groupnamepat.match(padid) diff --git a/etherdump/commands/pull.py b/etherdump/commands/pull.py index c6f1d4f..9a2124c 100644 --- a/etherdump/commands/pull.py +++ b/etherdump/commands/pull.py @@ -65,6 +65,8 @@ def main (args): args = p.parse_args(args) + print ("etherdump version {}".format(VERSION), file=sys.stderr) + raw_ext = ".raw.txt" if args.no_raw_ext: raw_ext = ""