[Bugs] [Bug 1671637] geo-rep: Issue with configparser import

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 5 04:20:45 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1671637

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/22138 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- geo-rep: Fix configparser import
issue

'configparser' is backported to python2 and can
be installed using pip (pip install configparser).
So trying to import 'configparser' first and later
'ConfigParser' can cause issues w.r.t unicode strings.

Always try importing 'ConfigParser' first and then
'configparser'. This solves python2/python3 compat
issues.

Change-Id: I2a87c3fc46476296b8cb547338f35723518751cc
fixes: bz#1671637
Signed-off-by: Kotresh HR <khiremat at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Bugs mailing list