# $Id: userconfig-migration-0.5,v 1.2 2003/09/28 23:41:54 mackstann Exp $

Fairly large changes have been made to userconfig.py past 0.4.1.  You should
look through the home_userconfig.py file distributed with 0.5 and migrate
your old userconfig to use all of the required new stuff.  Most notably:

Remove 'from config import *'

Add 'from macros import *'

Change 'MyConfiguration(Configuration)' to just 'MyConfiguration'

'init()' must be near the top of the file, after imports.

Delete def globals() and move its contents to the top of the file (after
imports and init()), with no indentation.  Add the other macros here, to
taste.

MyConfiguration is now optional, but if you do delete it and its corresponding
install() at the end of the file, please put 'finish()' at the end of the file.

In a few of the methods of MyConfiguration, you will have:

  return Configuration.<foo>(self) + [ .. (whatever) .. ]

Remove the 'Configuration.<foo>(self) + ' part.

If all else fails, and you can't seem to get it to work right, try backing up
your old userconfig, using the new one, and gradually adding your old stuff to
it.  As always, feel free to ask for help in irc.freenode.net #kahakai if you're
having trouble.

