Switch to new configparser backport.

This commit is contained in:
Itamar Turner-Trauring
2020-10-26 11:30:12 -04:00
parent f0657aec69
commit f50fd8e474
6 changed files with 19 additions and 20 deletions

View File

@ -2,10 +2,9 @@ import os, stat, time, weakref
from base64 import urlsafe_b64encode
from functools import partial
from errno import ENOENT, EPERM
try:
from ConfigParser import NoSectionError
except ImportError:
from configparser import NoSectionError
# On Python 2 this will be the backported package:
from configparser import NoSectionError
from foolscap.furl import (
decode_furl,