~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/externalcommand.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-01 23:52:16 UTC
  • mto: (1185.50.19 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1532.
  • Revision ID: john@arbash-meinel.com-20051201235216-50aa021d8ed62620
Some corrections using the new osutils.rename. **ALL TESTS PASS**

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
            ## Empty directories are not real paths
39
39
            if not dir:
40
40
                continue
41
 
            path = pathjoin(dir, cmd)
 
41
            # This needs to be os.path.join() or windows cannot
 
42
            # find the batch file that you are wanting to execute
 
43
            path = os.path.join(dir, cmd)
42
44
            if os.path.isfile(path):
43
45
                return ExternalCommand(path)
44
46