Brian Bouterse created QPID-7071:
------------------------------------

             Summary: Remove non-module level import statements from 
qpid.messaging
                 Key: QPID-7071
                 URL: https://issues.apache.org/jira/browse/QPID-7071
             Project: Qpid
          Issue Type: Task
          Components: Python Client
    Affects Versions: 0.32
            Reporter: Brian Bouterse


There are several places in qpid.messaging where imports are done at runtime 
instead of importtime. A quick audit showed these:

https://github.com/apache/qpid/blob/4da5242913b3bb6c2fc478bc18fe8dc13fa74833/qpid/python/qpid/messaging/driver.py#L85

https://github.com/apache/qpid/blob/4da5242913b3bb6c2fc478bc18fe8dc13fa74833/qpid/python/qpid/messaging/endpoints.py#L204

All imports should be grouped at the top according to PEP8.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to