jiridanek commented on a change in pull request #1468:
URL: https://github.com/apache/qpid-dispatch/pull/1468#discussion_r778139814
##########
File path: tools/qdmanage
##########
@@ -24,7 +24,9 @@ import json
import re
from collections.abc import Mapping, Sequence
-import qpid_dispatch_site # noqa: F401 # imported for side-effects (inserts
to sys.path)
+import qpid_dispatch_site
+qpid_dispatch_site.populate_pythonpath()
Review comment:
Yes, but then we would have it called every time the file is included.
Sometimes, you want to include the file and not add into pythonpath.
Also, importing for side-effects only is strange, I thought making this into
explicit call is an improvement.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]