diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2015-10-26 19:54:32 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2015-10-26 20:05:48 +0100 |
commit | 47ab97ffcf5c3bb484f9e6afbbd02cf431ebefce (patch) | |
tree | 09c823d6ecc7f70410c7330a950a82534925112c /MgaRepo | |
parent | b5d84e68cb1aa654c3cb242cef416ccd1253fb13 (diff) | |
download | mgarepo-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.py | 2 |
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: |