Branch: Tag:

2003-10-15

2003-10-15 16:36:50 by Martin Nilsson <mani@lysator.liu.se>

A little more helpful error message.

Rev: lib/modules/Calendar.pmod/Ruleset.pike:1.14

34:   this_program set_timezone(string|.Rule.Timezone t)   {    if (stringp(t)) { +  string name = t;    t=.Timezone[t]; -  if (!t) error("No timezone %O\n",t); +  if (!t) error("No timezone %O\n",name);    }       if (!t->is_timezone)