# HG changeset patch # User Sylvain Thénault # Date 1259056262 -3600 # Node ID 412eb366740beb884e5652ea0ffcba202e3a3c11 # Parent 9dbabbca03df8bf72499bfc447bc37b75c6f3a31 set appid attribute before super call to avoid attribute error when fetching configuration's defaults diff -r 9dbabbca03df -r 412eb366740b server/serverconfig.py --- a/server/serverconfig.py Mon Nov 23 20:16:40 2009 +0100 +++ b/server/serverconfig.py Tue Nov 24 10:51:02 2009 +0100 @@ -36,8 +36,8 @@ class SourceConfiguration(Configuration): def __init__(self, appid, options): + self.appid = appid # has to be done before super call super(SourceConfiguration, self).__init__(options=options) - self.appid = appid # make Method('default_instance_id') usable in db option defs (in native.py) def default_instance_id(self):