Merge lp:~roadmr/checkbox/twirly into lp:checkbox
Proposed by
Daniel Manrique
Status: | Merged |
---|---|
Approved by: | Brendan Donegan |
Approved revision: | 1772 |
Merged at revision: | 1772 |
Proposed branch: | lp:~roadmr/checkbox/twirly |
Merge into: | lp:checkbox |
Diff against target: |
115 lines (+25/-7) 2 files modified
checkbox_cli/cli_interface.py (+22/-7) debian/changelog (+3/-0) |
To merge this branch: | bzr merge lp:~roadmr/checkbox/twirly |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brendan Donegan (community) | Approve | ||
Daniel Manrique (community) | Needs Resubmitting | ||
Review via email: mp+129521@code.launchpad.net |
Commit message
Fix bug 926104 by creating a spinning ascii twirler in the CLI to indicate that checkbox is doing something or waiting for input
Description of the change
A spinning ascii twirler to indicate that checkbox is doing something or waiting for input.
To test:
sudo -k; unset DISPLAY; PYTHONPATH=. bin/checkbox-cli -W data/whitelists
To post a comment you must log in.
Awesome! I'm left scratching my head why the same approach gave me problems (maybe I used wrong escape characters or something). Two observations though:
- I think it's a lot of code for something so simple, you can look in https:/ /code.launchpad .net/~brendan- donegan/ checkbox/ spinner_ and_pep8_ fixes for the way I attempted it (it's about 3-4 lines). I don't mind either way how it's done really though.
- It would be good to give cli_interface.py a ritual pep8/pyflakes clean before submitting. At least it should pass the lint script.
Marking as needs fixing, but only for the pep8 clean - it's totally up to you if you want to simplify the implementation of the spinner/twirly.