Rev 5749: Add a docstring and dates to FIXMEs. in file:///home/vila/src/bzr/experimental/config/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Apr 1 14:37:17 UTC 2011
At file:///home/vila/src/bzr/experimental/config/
------------------------------------------------------------
revno: 5749
revision-id: v.ladeuil+lp at free.fr-20110401143717-a3wj1v2y4hyjnh06
parent: v.ladeuil+lp at free.fr-20110401131901-c8e8itu2z6wjode0
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: config-section
timestamp: Fri 2011-04-01 16:37:17 +0200
message:
Add a docstring and dates to FIXMEs.
-------------- next part --------------
=== modified file 'bzrlib/config.py'
--- a/bzrlib/config.py 2011-04-01 13:19:01 +0000
+++ b/bzrlib/config.py 2011-04-01 14:37:17 +0000
@@ -1988,6 +1988,7 @@
self._transport.put_file(self._filename, out_file)
+# FIXME: This is not lazy yet -- vila 2011-04-01
class ReadOnlySection(object):
"""A section defines a dict of options.
@@ -2009,6 +2010,7 @@
class MutableSection(ReadOnlySection):
+ """A section allowing changes and keeping track of the original values."""
def __init__(self, section_id, options):
super(MutableSection, self).__init__(section_id, options)
=== modified file 'bzrlib/tests/test_config.py'
--- a/bzrlib/tests/test_config.py 2011-04-01 12:42:11 +0000
+++ b/bzrlib/tests/test_config.py 2011-04-01 14:37:17 +0000
@@ -1820,7 +1820,7 @@
class TestConfigReadOnlySection(tests.TestCase):
# FIXME: Parametrize so that all sections produced by Stores run these
- # tests.
+ # tests -- vila 2011-04-01
def test_get_a_value(self):
a_dict = dict(foo='bar')
@@ -1842,7 +1842,7 @@
class TestConfigMutableSection(tests.TestCase):
# FIXME: Parametrize so that all sections (includind os.envrion and the
- # ones produced by Stores) run these tests.
+ # ones produced by Stores) run these tests -- vila 2011-04-01
def test_set(self):
a_dict = dict(foo='bar')
More information about the bazaar-commits
mailing list