From ab1fbb8f5d229773afe79c80730a8c4a01e19a52 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Fri, 20 Sep 2024 09:36:06 +0000 Subject: [PATCH] =?UTF-8?q?wallet:=20=E2=80=98requested=20on=20command=20l?= =?UTF-8?q?ine=E2=80=99=20->=20=E2=80=98user-configured=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pylint.yaml | 8 ++++---- mmgen/data/version | 2 +- mmgen/wallet/enc.py | 4 ++-- mmgen/wallet/mmgen.py | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pylint.yaml b/.github/workflows/pylint.yaml index 0660bed3..8a5c6296 100644 --- a/.github/workflows/pylint.yaml +++ b/.github/workflows/pylint.yaml @@ -55,7 +55,7 @@ jobs: env: PYTHONPATH: . run: | - pylint --errors-only mmgen - pylint --errors-only test - pylint --errors-only examples - pylint --errors-only --disable=relative-beyond-top-level test/cmdtest_py_d + pylint --errors-only --jobs=0 mmgen + pylint --errors-only --jobs=0 test + pylint --errors-only --jobs=0 examples + pylint --errors-only --jobs=0 --disable=relative-beyond-top-level test/cmdtest_py_d diff --git a/mmgen/data/version b/mmgen/data/version index 6394b053..f5dfb75a 100644 --- a/mmgen/data/version +++ b/mmgen/data/version @@ -1 +1 @@ -15.0.dev7 +15.0.dev8 diff --git a/mmgen/wallet/enc.py b/mmgen/wallet/enc.py index b3198a5c..4a92f19d 100755 --- a/mmgen/wallet/enc.py +++ b/mmgen/wallet/enc.py @@ -49,7 +49,7 @@ class wallet(wallet): self.cfg._util.qmsg(f'Reusing hash preset {hp!r} at user request') elif self.cfg.hash_preset: hp = self.cfg.hash_preset - self.cfg._util.qmsg(f'Using hash preset {hp!r} requested on command line') + self.cfg._util.qmsg(f'Using user-configured hash preset {hp!r}') else: # Prompt, using old value as default hp = self._get_hash_preset_from_user( old_preset=old_hp, add_desc=add_desc ) if (not self.cfg.keep_hash_preset) and self.op == 'pwchg_new': @@ -57,7 +57,7 @@ class wallet(wallet): 'unchanged' if hp == old_hp else f'changed to {hp!r}')) elif self.cfg.hash_preset: hp = self.cfg.hash_preset - self.cfg._util.qmsg(f'Using hash preset {hp!r} requested on command line') + self.cfg._util.qmsg(f'Using user-configured hash preset {hp!r}') else: hp = self._get_hash_preset_from_user( old_preset = gc.dfl_hash_preset, diff --git a/mmgen/wallet/mmgen.py b/mmgen/wallet/mmgen.py index 5576ebe6..45fbb8ed 100755 --- a/mmgen/wallet/mmgen.py +++ b/mmgen/wallet/mmgen.py @@ -58,14 +58,14 @@ class wallet(wallet): self.cfg._util.qmsg('Reusing label {} at user request'.format( lbl.hl2(encl='‘’') )) elif self.label: lbl = self.label - self.cfg._util.qmsg('Using label {} requested on command line'.format( lbl.hl2(encl='‘’') )) + self.cfg._util.qmsg('Using user-configured label {}'.format(lbl.hl2(encl='‘’'))) else: # Prompt, using old value as default lbl = self._get_label_from_user(old_lbl) if (not self.cfg.keep_label) and self.op == 'pwchg_new': self.cfg._util.qmsg('Label {}'.format( 'unchanged' if lbl == old_lbl else f'changed to {lbl!r}' )) elif self.label: lbl = self.label - self.cfg._util.qmsg('Using label {} requested on command line'.format( lbl.hl2(encl='‘’') )) + self.cfg._util.qmsg('Using user-configured label {}'.format(lbl.hl2(encl='‘’'))) else: lbl = self._get_label_from_user() self.ssdata.label = lbl