==== //sandbox/gboyce/sieve/python-managesieve-0.3/managesieve.py#9 - /Users/gboyce/perforce/sandbox/sieve/python-managesieve-0.3/managesieve.py ====
old
|
new
|
|
135 | 135 | |
136 | 136 | |
137 | 137 | def _parse_capabilities(self, lines): |
| 138 | # XXX darky: seeing the STARTTLS cap makes managesieve barf |
| 139 | # because 'data' (in the below unpack) has nothing to unpack. |
| 140 | # Fix up lines for this. |
| 141 | for pair in lines: |
| 142 | if len(pair) == 1: |
| 143 | pair.append("") |
| 144 | assert len(pair) == 2 |
138 | 145 | for typ, data in lines: |
139 | 146 | if __debug__: |
140 | 147 | if self.debug >= 3: |