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

  • Committer: Aaron Bentley
  • Date: 2009-11-03 01:15:09 UTC
  • mto: This revision was merged to the branch mainline in revision 4795.
  • Revision ID: aaron@aaronbentley.com-20091103011509-o1xq8k9t1h0x1umu
Fix call import/invocation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
import difflib
18
18
import os
19
 
from subprocess import call
20
19
import re
21
20
import shutil
22
21
import string
787
786
                                           force_temp=True)[1]
788
787
        command = self._get_command(osutils.pathjoin('old', old_path),
789
788
                                    osutils.pathjoin('new', new_path))
790
 
        call(command, cwd=self._root)
 
789
        subprocess.call(command, cwd=self._root)
791
790
        new_file = open(new_abs_path, 'r')
792
791
        try:
793
792
            return new_file.read()