Skip to content

Commit

Permalink
Merge branch 'master' into autoxps
Browse files Browse the repository at this point in the history
  • Loading branch information
strizhechenko committed Jul 11, 2017
2 parents 9ab1cf6 + 9bccb38 commit d2149a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I'm very welcome any help with this project. I'm usually place label [help wanted](https://github.com/strizhechenko/netutils-linux/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) to tasks that may be a good start to contribute.
4 changes: 2 additions & 2 deletions netutils_linux_monitoring/link_rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ def post_optparse(self):
self.stats = [
stat for stat in self.stats if stat.filename.startswith('rx')]
if self.options.simple_mode:
simple_stats = ('packets', 'bytes', 'errors')
simple_stats = ('rx_packets', 'rx_bytes', 'rx_errors', 'tx_packets', 'tx_bytes', 'tx_errors')
self.stats = [
stat for stat in self.stats if stat.shortname in simple_stats]
stat for stat in self.stats if stat.filename in simple_stats]
self.unit_change()
self.header = self.make_header()
self.align_map = ['l'] + ['r'] * (len(self.header) - 1)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def read(*paths):

setuptools.setup(
name='netutils-linux',
version='2.2.2',
version='2.2.4',
author='Oleg Strizhechenko',
author_email='[email protected]',
license='MIT',
Expand Down

0 comments on commit d2149a1

Please sign in to comment.