~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/externalcommand.py

  • Committer: Martin Pool
  • Date: 2005-09-01 11:53:02 UTC
  • Revision ID: mbp@sourcefrog.net-20050901115302-2fcc6c750f0abe34
- make external commands work again

  code is now much simpler; no translation to objects and back again

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
import os
23
23
import sys
24
 
 
25
24
from bzrlib.commands import Command
26
25
 
27
26
 
44
43
    def __init__(self, path):
45
44
        self.path = path
46
45
 
47
 
 
 
46
 
48
47
    def name(self):
49
48
        return self.path.split(os.sep)[-1]
50
49