aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-10-26 19:54:32 +0100
committerPapoteur <papoteur@mageialinux-online.org>2015-10-26 20:05:48 +0100
commit47ab97ffcf5c3bb484f9e6afbbd02cf431ebefce (patch)
tree09c823d6ecc7f70410c7330a950a82534925112c /MgaRepo
parentb5d84e68cb1aa654c3cb242cef416ccd1253fb13 (diff)
downloadmgarepo-47ab97ffcf5c3bb484f9e6afbbd02cf431ebefce.tar
mgarepo-47ab97ffcf5c3bb484f9e6afbbd02cf431ebefce.tar.gz
mgarepo-47ab97ffcf5c3bb484f9e6afbbd02cf431ebefce.tar.bz2
mgarepo-47ab97ffcf5c3bb484f9e6afbbd02cf431ebefce.tar.xz
mgarepo-47ab97ffcf5c3bb484f9e6afbbd02cf431ebefce.zip
Upadte ConfigPaser.py again
Sur la branche master Update ConfigPaser.py #mga17023
Diffstat (limited to 'MgaRepo')
-rw-r--r--MgaRepo/ConfigParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/ConfigParser.py b/MgaRepo/ConfigParser.py
index 50a4cfe..82f7568 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 type(filenames) in str:
+ if isinstance(type(filenames) , str):
filenames = [filenames]
for filename in filenames:
try: