~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: 2010-03-01 09:58:53 UTC
  • mfrom: (5064.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100301095853-c1ffluypw71hgtgc
(vila for doxx) Deprecate commands.shlex_split_unicode

Show diffs side-by-side

added added

removed removed

Lines of Context:
372
372
        # List of standard options directly supported
373
373
        self.supported_std_options = []
374
374
        self._operation = cleanup.OperationWithCleanups(self.run)
375
 
    
 
375
 
376
376
    def add_cleanup(self, cleanup_func, *args, **kwargs):
377
377
        """Register a function to call after self.run returns or raises.
378
378
 
392
392
        resources (such as writing results to self.outf).
393
393
        """
394
394
        self._operation.cleanup_now()
395
 
        
 
395
 
396
396
    @deprecated_method(deprecated_in((2, 1, 0)))
397
397
    def _maybe_expand_globs(self, file_list):
398
398
        """Glob expand file_list if the platform does not do that itself.
877
877
    return ret
878
878
 
879
879
 
 
880
@deprecated_function(deprecated_in((2, 2, 0)))
880
881
def shlex_split_unicode(unsplit):
881
882
    return cmdline.split(unsplit)
882
883