Commits

Antoine Nguyen committed bf65c18

Just ignore the last line when parsing CAPABILITIES.

see #7

  • Participants
  • Parent commits d45266a

Comments (0)

Files changed (1)

sievelib/managesieve.py

         if code == "NO":
             return False
 
-        for l in capabilities.splitlines()[0:-2]:
+        for l in capabilities.splitlines()[0:-1]:
             parts = l.split(None, 1)
             cname = parts[0].strip('"')
             if not cname in KNOWN_CAPABILITIES: