~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 17:56:17 UTC
  • mto: This revision was merged to the branch mainline in revision 4854.
  • Revision ID: john@arbash-meinel.com-20091202175617-v7np8euc44nx5lji
Read config files via get_bytes

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 self._transport.get(self._filename)
 
1475
            return osutils.split_lines(
 
1476
                self._transport.get_bytes(self._filename))
1476
1477
        except errors.NoSuchFile:
1477
1478
            return StringIO()
1478
1479