~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-16 15:52:50 UTC
  • mto: This revision was merged to the branch mainline in revision 6391.
  • Revision ID: jelmer@samba.org-20111216155250-kzxvm5wbgjbsek71
Register smtp options in bzrlib.config, and use config stacks in bzrlib.smtp_conection.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2694
2694
to physical disk.  This is somewhat slower, but means data should not be
2695
2695
lost if the machine crashes.  See also dirstate.fdatasync.
2696
2696
'''))
2697
 
 
 
2697
option_registry.register_lazy('smtp_server',
 
2698
    'bzrlib.smtp_connection', 'smtp_server')
 
2699
option_registry.register_lazy('smtp_password',
 
2700
    'bzrlib.smtp_connection', 'smtp_password')
 
2701
option_registry.register_lazy('smtp_username',
 
2702
    'bzrlib.smtp_connection', 'smtp_username')
2698
2703
option_registry.register(
2699
2704
    Option('selftest.timeout',
2700
2705
        default='600',