aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-01-29 16:44:02 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-01-29 16:44:02 +0000
commitd4d9914ec004a9ad1b767bc177d45af6694080be (patch)
tree683b845194e957f0bc365bb77a7df74194e79b9d
parent25545a7a3702c0b624b802b795d631534977979b (diff)
downloadmgarepo-d4d9914ec004a9ad1b767bc177d45af6694080be.tar
mgarepo-d4d9914ec004a9ad1b767bc177d45af6694080be.tar.gz
mgarepo-d4d9914ec004a9ad1b767bc177d45af6694080be.tar.bz2
mgarepo-d4d9914ec004a9ad1b767bc177d45af6694080be.tar.xz
mgarepo-d4d9914ec004a9ad1b767bc177d45af6694080be.zip
Make ConfigParser forward args to allow the use of "raw" option.
It will enable us to choose which sections should not allow ConfigParser's references.
-rw-r--r--RepSys/ConfigParser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/RepSys/ConfigParser.py b/RepSys/ConfigParser.py
index 0f219b9..c10b3a7 100644
--- a/RepSys/ConfigParser.py
+++ b/RepSys/ConfigParser.py
@@ -373,8 +373,8 @@ class Config:
def set(self, section, option, value):
return self._config.set(section, option, value)
- def walk(self, section):
- return self._config.walk(section)
+ def walk(self, section, *args, **kwargs):
+ return self._config.walk(section, *args, **kwargs)
def get(self, section, option, default=None):
try: