[Bugs] [Bug 1794263] New: Multiple imports from the same library in the .py files in geo-rep

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 23 06:20:29 UTC 2020


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

            Bug ID: 1794263
           Summary: Multiple imports from the same library in the .py
                    files in geo-rep
           Product: GlusterFS
           Version: mainline
          Hardware: x86_64
                OS: Linux
            Status: NEW
         Component: geo-replication
          Severity: low
          Assignee: kiyer at redhat.com
          Reporter: kiyer at redhat.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:
Geo-replication has a large number of repeated imports as shown below:
```
from syncdutils import set_term_handler, finalize, lf
from syncdutils import log_raise_exception, FreeObject, escape
```

There imports can be clubbed together as shown below:
``
from syncdutils import (set_term_handler, finalize, lf,
                        log_raise_exception, FreeObject, escape)
``` 

Version-Release number of selected component (if applicable):
Whatever is the current master version.

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

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


More information about the Bugs mailing list