commit 1efa961e18935122e11cee5e81fee678aad60519
Author: Daniel P. Berrange <email address hidden>
Date: Thu Feb 6 13:16:21 2014 +0000
Improve detection of imports in hacking check
The hacking check for detecting cross-virt driver imports
only looked for 'from foo.bar import wizz' and not for
'import foo.bar.wizz'. Add support for the latter too and
test it.
Reviewed: https:/ /review. openstack. org/71523 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1efa961e189 35122e11cee5e81 fee678aad60519
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1efa961e1893512 2e11cee5e81fee6 78aad60519
Author: Daniel P. Berrange <email address hidden>
Date: Thu Feb 6 13:16:21 2014 +0000
Improve detection of imports in hacking check
The hacking check for detecting cross-virt driver imports
only looked for 'from foo.bar import wizz' and not for
'import foo.bar.wizz'. Add support for the latter too and
test it.
Change-Id: I79d804b49e4be9 827c4a5c172ffb8 712c15f4071
Closes-Bug: #1261842