~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_config.py

remove all trailing whitespace from bzr source

Show diffs side-by-side

added added

removed removed

Lines of Context:
425
425
        locations = config.locations_config_filename()
426
426
        config.ensure_config_dir_exists()
427
427
        local_url = urlutils.local_path_to_url('branch')
428
 
        open(locations, 'wb').write('[%s]\nnickname = foobar' 
 
428
        open(locations, 'wb').write('[%s]\nnickname = foobar'
429
429
                                    % (local_url,))
430
430
        self.assertEqual('foobar', branch.nick)
431
431
 
436
436
 
437
437
        locations = config.locations_config_filename()
438
438
        config.ensure_config_dir_exists()
439
 
        open(locations, 'wb').write('[%s/branch]\nnickname = barry' 
 
439
        open(locations, 'wb').write('[%s/branch]\nnickname = barry'
440
440
                                    % (osutils.getcwd().encode('utf8'),))
441
441
        self.assertEqual('barry', branch.nick)
442
442