aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-10-27 07:07:00 +0100
committerPapoteur <papoteur@mageialinux-online.org>2015-10-27 07:07:00 +0100
commit3a4d9b237f451c8395ecb80ca78c67c8f1d58638 (patch)
tree178349c651efe63a1994d43df3d1f17234861e31
parent938eaa61b14479745f0012a934e2e0814ff14f1a (diff)
downloadmgarepo-3a4d9b237f451c8395ecb80ca78c67c8f1d58638.tar
mgarepo-3a4d9b237f451c8395ecb80ca78c67c8f1d58638.tar.gz
mgarepo-3a4d9b237f451c8395ecb80ca78c67c8f1d58638.tar.bz2
mgarepo-3a4d9b237f451c8395ecb80ca78c67c8f1d58638.tar.xz
mgarepo-3a4d9b237f451c8395ecb80ca78c67c8f1d58638.zip
Reading config file in ConfigParser
-rw-r--r--MgaRepo/ConfigParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/ConfigParser.py b/MgaRepo/ConfigParser.py
index 82f7568..0d5624e 100644
--- a/MgaRepo/ConfigParser.py
+++ b/MgaRepo/ConfigParser.py
@@ -115,7 +115,7 @@ class ConfigParser:
return list(self.__defaults.keys())+opts
def read(self, filenames):
- if isinstance(type(filenames) , str):
+ if isinstance(filenames , str):
filenames = [filenames]
for filename in filenames:
try: