Based on other conversations we believe that there is no need to support
python versions lower than Python 3.6 for pacific and later. This means
it is safe to drop the remaining version checks for python
3.2.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit
47162e4996a511d399809516a4890d72e6f84a44)
import logging
import sys
import threading
-
-if sys.version_info >= (3, 2):
- import configparser
-else:
- import ConfigParser as configparser
+import configparser
import cephfs
self.fs = fs
self.mode = mode
self.config_path = config_path
- if sys.version_info >= (3, 2):
- self.config = configparser.ConfigParser()
- else:
- self.config = configparser.SafeConfigParser()
+ self.config = configparser.ConfigParser()
def refresh(self):
fd = None