In Python-3* it used to show the following:
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.3/powerline-config", line 66, in <module>
args.function(pl, args)
AttributeError: 'Namespace' object has no attribute 'function'
now it shows
usage: powerline-config [-h] {tmux,shell} ...
powerline-config: error: too few arguments
in both python-2.7 and -3.3.
Fixes#1120.
Changes:
- When guessing used network interface for internal_ip segment the priority of
various VM bridge interfaces was lowered.
- Added `ignore_statuses` option that makes one able to prevent certain
repository statutes (e.g. `"U"`: only modification is unknown files) from
marking repository as dirty.
- Refactored `powerline.segments.common.players` module: deprecated
`now_playing` segment, replacing it with segments with names identical to
player names (e.g. `powerline.segments.common.players.mpd`). `now_playing`
segment will continue to work until powerline-2.0 though.
- Fixed `powerline.segments.tmux.attached_clients` segment: it was not working
at all due to missing argument in one function call.
- Fixed regular expression used to detect NERDTree buffers.
Reasoning for first: backwards compatibility. If user defined `now_playing`
highlight group it is what should be used.
Reasoning for second: it is useless there. If user has defined its own group its
effect will not be affected, if he has not then there is nothing to talk about.
Changes:
- Deprecated `powerline.segments.common`, moved all segments into deeply nested
modules (e.g. `powerline.segments.common.vcs`).
- Added support for different tag formats provided by tagbar plugin.
- Improved non-unicode locales handling.
- Improved non-unicode filenames handling.
- Improved Vim troubleshooting: it now runs powerline-lint automatically.
- Fixed weather segment: it was remembering its argument from the first run and
never allowed to change it.
- Fixed Uv watcher: it raised an exception for nonexistent files.
- Fixed zsh named directories handling when AUTO_NAME_DIRS option is set.
- Fixed --config_path handling when using daemon: in some cases it was
remembered once and never changed.
- Fixed Vim overrides when Vim is using Python-3*.
- Fixed Uv watcher on Python-3*: it used os.path.walk which was removed.
- Refactored and documented powerline.lint.