/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/commands.py

  • Committer: John Arbash Meinel
  • Date: 2009-11-04 22:32:13 UTC
  • mto: This revision was merged to the branch mainline in revision 4787.
  • Revision ID: john@arbash-meinel.com-20091104223213-foo7qmu39b26zdac
Deprecate _maybe_expand_globs and remove calls to it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
from bzrlib.symbol_versioning import (
57
57
    deprecated_function,
58
58
    deprecated_in,
 
59
    deprecated_method,
59
60
    suppress_deprecation_warnings,
60
61
    )
61
62
 
383
384
        # List of standard options directly supported
384
385
        self.supported_std_options = []
385
386
 
 
387
    @deprecated_method(deprecated_in((2, 1, 0)))
386
388
    def _maybe_expand_globs(self, file_list):
387
389
        """Glob expand file_list if the platform does not do that itself.
388
390
 
 
391
        Not used anymore, now that the bzr command-line parser globs on
 
392
        Windows.
 
393
 
389
394
        :return: A possibly empty list of unicode paths.
390
395
 
391
396
        Introduced in bzrlib 0.18.
392
397
        """
393
 
        if not file_list:
394
 
            file_list = []
395
 
        # if sys.platform == 'win32':
396
 
        #     file_list = win32utils.glob_expand(file_list)
397
 
        return list(file_list)
 
398
        return file_list
398
399
 
399
400
    def _usage(self):
400
401
        """Return single-line grammar for this command.