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

bugzilla at redhat.com bugzilla at redhat.com
Fri Feb 1 06:58:39 UTC 2019


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

            Bug ID: 1671637
           Summary: geo-rep: Issue with configparser import
           Product: GlusterFS
           Version: mainline
            Status: NEW
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: khiremat at redhat.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:
'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.

Solution:

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

Version-Release number of selected component (if applicable):
mainilne

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


More information about the Bugs mailing list