Merge pull request #2 from bbc/revert-1-openstack-collections-fix

Revert "Make OpenStack collections qualify for NewStylePlanner"
pull/814/head
Georgina Shippey 3 years ago committed by GitHub
commit cf6b6af250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -301,9 +301,6 @@ class NewStylePlanner(ScriptPlanner):
@classmethod
def detect(cls, path, source):
if b'from ansible_collections.openstack.' in source:
cls.marker = b'from ansible_collections.openstack.'
LOG.debug('cls.marker: %r, source: %r', cls.marker, source)
return cls.marker in source
def _get_interpreter(self):

Loading…
Cancel
Save