sysctl: Fix refreshing cache

Fix iterating over the 'cache' dictionary in refresh(). A dictionary is
not callable. This fixes the following error:

>>> import procfs.sysctl
>>> s = procfs.sysctl()
>>> s.refresh()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/procfs/sysctl.py", line 64, in refresh
    for key in self.cache():
TypeError: 'dict' object is not callable

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
Signed-off-by: Jiri Kastner <jkastner@redhat.com>
1 file changed
tree: 92c29749da23e7ea581bbfe2e2cd4a3e952f80b0
  1. COPYING
  2. MANIFEST
  3. Makefile
  4. bitmasklist_test.py
  5. pflags
  6. procfs/
  7. rpm/
  8. setup.py