Debug Python Script Splunk Interview Question