cubicweb/cwctl.py
changeset 11284 d4293b14c664
parent 11279 e4f11ef1face
child 11767 432f87a63057
--- a/cubicweb/cwctl.py	Mon Jun 06 09:19:38 2016 +0200
+++ b/cubicweb/cwctl.py	Thu Jun 02 10:27:34 2016 +0200
@@ -382,7 +382,7 @@
         if not self.config.automatic:
             sections = set(sect.lower() for sect, opt, odict in config.all_options()
                            if 'type' in odict
-                           and odict.get('level') <= self.config.config_level)
+                           and odict.get('level', 0) <= self.config.config_level)
             for section in sections:
                 if section not in ('main', 'email', 'web'):
                     print('\n' + underline_title('%s options' % section))