Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit bb5e1ac

Browse files
committed
minor edit to handle mypy processing
1 parent 5907454 commit bb5e1ac

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

CloudFlare/read_configs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
import os
44
import re
55
try:
6-
import configparser # py3
6+
# py3
7+
import configparser
78
except ImportError:
8-
import ConfigParser as configparser # py2
9+
# py2
10+
import ConfigParser as configparser # type: ignore
911

1012
class ReadConfigError(Exception):
1113
""" errors for read_configs"""

0 commit comments

Comments
 (0)