Resolved! Check for tenant name
I have this code that when execute all tenants print out line by line including 'Production' but when check for t == 'Production' it is not truetenants = Tenant.get(session) for t in tenants: print t if t == 'Production': #why this ...