mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
Compat tree for code dealing with compatibility between python versions
This commit is contained in:
parent
da9d87b1d4
commit
3f27e5e080
6 changed files with 172 additions and 5 deletions
|
@ -23,11 +23,7 @@ import os
|
|||
import pwd
|
||||
import sys
|
||||
|
||||
try:
|
||||
import configparser
|
||||
except ImportError:
|
||||
# Python 2.7
|
||||
import ConfigParser as configparser
|
||||
from . compat import configparser
|
||||
|
||||
from string import ascii_letters, digits
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue