MCPcopy
hub / github.com/pyload/pyload / hasPlugin

Method hasPlugin

module/PyFile.py:106–111  ·  view source on GitHub ↗

Thread safe way to determine this file has initialized plugin attribute :return:

(self)

Source from the content-addressed store, hash-verified

104
105 @lock
106 def hasPlugin(self):
107 """Thread safe way to determine this file has initialized plugin attribute
108
109 :return:
110 """
111 return hasattr(self, "plugin") and self.plugin
112
113 def package(self):
114 """ return package instance"""

Callers 3

abortDownloadMethod · 0.95
assignJobMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected