You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Brian Bouterse (JIRA)" <ji...@apache.org> on 2016/02/16 18:59:18 UTC

[jira] [Created] (QPID-7071) Remove non-module level import statements from qpid.messaging

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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org