| Total Complexity | 2 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 4 | ||
| Bugs | 0 | Features | 2 |
| 1 | #! /usr/bin/env python |
||
| 16 | 1 | class NamedProgressBar(progressbar.ProgressBar): |
|
| 17 | |||
| 18 | 1 | def __init__(self, name=None, **kwargs): |
|
| 19 | 1 | kwargs.setdefault('redirect_stderr', True) |
|
| 20 | 1 | super(NamedProgressBar, self).__init__(**kwargs) |
|
| 21 | 1 | self.name = name |
|
| 22 | |||
| 23 | 1 | def default_widgets(self): |
|
| 24 | 1 | return [self.name, ': '] + \ |
|
| 25 | super(NamedProgressBar, self).default_widgets() |
||
| 26 | |||
| 47 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.pyfiles in your module folders. Make sure that you place one file in each sub-folder.