def detect_queuing_system(scriptfile):
for qs in queuing_systems:<EOL><INDENT>if qs.isMine(scriptfile):<EOL><INDENT>return qs<EOL><DEDENT><DEDENT>return None<EOL>
Return the queuing system for which *scriptfile* was written.