mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Replace pylint "disable-msg" by "disable", and disable one more msg in setup.
This commit is contained in:
parent
ab0ee2c301
commit
9b86e6ef27
4 changed files with 19 additions and 16 deletions
|
@ -30,12 +30,12 @@ Give a configparser-like interface to read and write configuration.
|
|||
import os
|
||||
import sys
|
||||
# Manage Python2/3 different modules
|
||||
# pylint: disable-msg=F0401
|
||||
# pylint: disable=F0401
|
||||
try:
|
||||
from configparser import RawConfigParser as ConfigParser
|
||||
except ImportError:
|
||||
from ConfigParser import RawConfigParser as ConfigParser
|
||||
# pylint: enable-msg=F0401
|
||||
# pylint: enable=F0401
|
||||
|
||||
|
||||
# Default configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue