~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-29 15:57:16 UTC
  • mfrom: (3427.5.9 dep_warnings)
  • Revision ID: pqm@pqm.ubuntu.com-20080529155716-0w3kic8lioa63231
(jam) Enable Deprecation Warnings when running -Werror and when
        running selftest

Show diffs side-by-side

added added

removed removed

Lines of Context:
828
828
    # Is this a final release version? If so, we should suppress warnings
829
829
    if bzrlib.version_info[3] == 'final':
830
830
        from bzrlib import symbol_versioning
831
 
        symbol_versioning.suppress_deprecation_warnings()
 
831
        symbol_versioning.suppress_deprecation_warnings(override=False)
832
832
    try:
833
833
        argv = [a.decode(bzrlib.user_encoding) for a in argv[1:]]
834
834
    except UnicodeDecodeError: