twobraids/configman — Issue #38: staticmethod block_password broken
Author: peterbe
Created: 2011-11-19 00:34:45+00:00
State: open

Clearly this is broken and needs a unit test to check it.

```python

#--------------------------------------------------------------------------
@staticmethod
def block_password(qkey, key, value, block_password=True):
if block_password and 'password' in option.name.lower():
value = '*********'
return (qkey, key, value)
```

``option`` is not defined in that scope.

Also, why does this need to be a ``@staticmethod``?