Abhilash Raj pushed to branch master at GNU Mailman / Mailman Core
Commits:
116557d0 by Mark Sapiro at 2019-05-08T18:45:59Z
Fix import21 progress meter.
- - - - -
9b6eabf9 by Abhilash Raj at 2019-05-08T18:45:59Z
Merge branch 'progress' into 'master'
Fix import21 progress meter.
Closes #589
See merge request mailman/mailman!513
- - - - -
2 changed files:
- src/mailman/docs/NEWS.rst
- src/mailman/utilities/importer.py
Changes:
=====================================
src/mailman/docs/NEWS.rst
=====================================
@@ -36,6 +36,8 @@ Command line
``Action.defer`` rather than ``Action.accept``. (Closes #579)
* The ``mailman import21`` command now correctly imports ``*_these_nonmembers``
actions for nonmembers following a member in the list. (closes #580)
+* The progress meter while ``mailman import21`` is importing rosters has been
+ shortened so it no longer wraps and scrolls. (Closes #589)
REST
----
=====================================
src/mailman/utilities/importer.py
=====================================
@@ -554,8 +554,7 @@ def import_roster(mlist, config_dict, members, role,
action=None):
"""
name = (action and action.name) or role.name
with click.progressbar(
- members, label='Importing {} {:<10}'.format(
- mlist.list_id, name + 's')) as iterator:
+ members, label='Importing {:<10}'.format(name + 's')) as iterator:
_import_roster(mlist, config_dict, iterator, role, action=action)
View it on GitLab:
https://gitlab.com/mailman/mailman/compare/c5f97198f9d509a788025aa6df249841469bbe13...9b6eabf9a70911e43dced5553e2c18241612ee43
--
View it on GitLab:
https://gitlab.com/mailman/mailman/compare/c5f97198f9d509a788025aa6df249841469bbe13...9b6eabf9a70911e43dced5553e2c18241612ee43
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org