Skip to content

Commit

Permalink
↪️ Merge pull request #155 from Namburgesas/bugfix/configparser-backport
Browse files Browse the repository at this point in the history
bugfix: Import configparser in a consistent way. Filetype detection fails whe…
  • Loading branch information
KevinHock authored Apr 6, 2019
2 parents 6875688 + a4d2722 commit 8716e5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion detect_secrets/plugins/high_entropy_strings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from __future__ import absolute_import

import configparser
try:
from backports import configparser
except ImportError: # pragma: no cover
import configparser
import math
import os
import re
Expand Down

0 comments on commit 8716e5b

Please sign in to comment.