exceptions.UnboundLocalError

exception UnboundLocalError

Local name referenced but not bound to a value.