Python Error List Object Attribute Append Is Used For