/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Jonathan Riddell
  • Date: 2011-06-13 13:13:52 UTC
  • mto: This revision was merged to the branch mainline in revision 5972.
  • Revision ID: jriddell@canonical.com-20110613131352-1g4wgnjr6r76iaqh
do not treat 'check_signatures  = require' as if it were 'create_signatures = always', this is confusing and wrong

Show diffs side-by-side

added added

removed removed

Lines of Context:
492
492
        if policy is None:
493
493
            policy = self._get_signature_checking()
494
494
            if policy is not None:
 
495
                #this warning should go away once check_signatures is
 
496
                #implemented (if not before)
495
497
                trace.warning("Please use create_signatures,"
496
498
                              " not check_signatures to set signing policy.")
497
 
            if policy == CHECK_ALWAYS:
498
 
                return True
499
499
        elif policy == SIGN_ALWAYS:
500
500
            return True
501
501
        return False