List Info

Thread: Add unregister function to the script plugin API




Add unregister function to the script plugin API
user name
2007-12-23 10:15:24
Follow-up Comment #2, task #5594 (project weechat):

...
if weechat.register(NAME, VERSION, "clean",
"description"):
    raise Exception, "foo"
...

Script is NOT registered after exception arises.
Same statement is valid for die() and perl.
Maybe this way of exception handling is bug, maybe it's
feature, I don't
know.

// darkk

    _______________________________________________________

Reply to this item at:

  <http://sava
nnah.nongnu.org/task/?5594>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.or
g/



_______________________________________________
Weechat-dev mailing list
Weechat-devnongnu.org

http://lists.nongnu.org/mailman/listinfo/weechat-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )