Bug 1794263
| Summary: | Multiple imports from the same library in the .py files in geo-rep | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Kshithij Iyer <kiyer> |
| Component: | geo-replication | Assignee: | Kshithij Iyer <kiyer> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-17 03:18:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
REVIEW: https://review.gluster.org/24063 ([geo-rep] Merging multiple import into single import) posted (#1) for review on master by Kshithij Iyer This bug is moved to https://github.com/gluster/glusterfs/issues/1105, and will be tracked there from now on. Visit GitHub issues URL for further details |
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: