~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: John Arbash Meinel
  • Date: 2009-12-02 22:04:04 UTC
  • mto: This revision was merged to the branch mainline in revision 4854.
  • Revision ID: john@arbash-meinel.com-20091202220404-nngfd7uega503nwf
Use a StringIO instead, otherwise we get failures with smart server requests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1472
1472
 
1473
1473
    def _get_config_file(self):
1474
1474
        try:
1475
 
            return osutils.split_lines(
1476
 
                self._transport.get_bytes(self._filename))
 
1475
            return StringIO(self._transport.get_bytes(self._filename))
1477
1476
        except errors.NoSuchFile:
1478
1477
            return StringIO()
1479
1478