# HG changeset patch # User Sylvain Thénault # Date 1254840611 -7200 # Node ID b03cc2416cd5362894414cd55149c535a26c2f40 # Parent 26e586f3c15c3f52977241a4ec305bfe2a129242 [config] dumb implementation of default_instance_id on no app config since it's referenced diff -r 26e586f3c15c -r b03cc2416cd5 cwconfig.py --- a/cwconfig.py Fri Oct 02 15:31:28 2009 +0200 +++ b/cwconfig.py Tue Oct 06 16:50:11 2009 +0200 @@ -529,6 +529,11 @@ vocab = getattr(self, vocab.method, ()) return CFGTYPE2ETYPE_MAP[optdict['type']], vocab + def default_instance_id(self): + """return the instance identifier, useful for option which need this + as default value + """ + return None class CubicWebConfiguration(CubicWebNoAppConfiguration): """base class for cubicweb server and web configurations"""