[config] dumb implementation of default_instance_id on no app config since it's referenced
--- 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"""