/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-06 16:57:32 UTC
  • Revision ID: jelmer@samba.org-20111206165732-0i7lcllq42wy6tao
Cope with the fact that Option doesn't support the help argument in bzr 2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
                                       save_commit_messages,
137
137
                                       "Saving commit messages for gcommit")
138
138
 
139
 
config.option_registry.register(
140
 
    config.Option('nautilus_integration', default=True,
141
 
           from_unicode=config.bool_from_store,
142
 
           help='''\
143
 
Whether to enable nautilus integration.
144
 
 
145
 
Defines whether Nautilus integration should be enabled.
146
 
'''))
147
 
 
 
139
option_registry = getattr(config, "option_registry", None)
 
140
if option_registry is not None:
 
141
    config.option_registry.register_lazy('nautilus_integration',
 
142
            'bzrlib.plugins.gtk.config', 'opt_nautilus_integration')
148
143
 
149
144
def load_tests(basic_tests, module, loader):
150
145
    testmod_names = [