Show More
@@ -14,7 +14,6 b' from .pycompat import getattr' | |||
|
14 | 14 | from . import ( |
|
15 | 15 | encoding, |
|
16 | 16 | error, |
|
17 | pycompat, | |
|
18 | 17 | util, |
|
19 | 18 | ) |
|
20 | 19 | |
@@ -110,7 +109,7 b' class config(object):' | |||
|
110 | 109 | return sorted(self._data.keys()) |
|
111 | 110 | |
|
112 | 111 | def items(self, section): |
|
113 |
items = |
|
|
112 | items = self._data.get(section, {}).items() | |
|
114 | 113 | return [(k, v[0]) for (k, v) in items] |
|
115 | 114 | |
|
116 | 115 | def set(self, section, item, value, source=b""): |
General Comments 0
You need to be logged in to leave comments.
Login now