[meld] recent: Remove some python 2 compatibility
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] recent: Remove some python 2 compatibility
- Date: Sat, 11 Nov 2017 19:25:58 +0000 (UTC)
commit 1b66164f8e2c7e2a601a56069d3782031f5a773f
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Nov 12 05:23:38 2017 +1000
recent: Remove some python 2 compatibility
meld/recent.py | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/meld/recent.py b/meld/recent.py
index 5646d3f..adf8275 100644
--- a/meld/recent.py
+++ b/meld/recent.py
@@ -24,11 +24,7 @@ single-file registers for multi-file comparisons, and tell the recent files
infrastructure that that's actually what we opened.
"""
-try:
- # py3k
- import configparser
-except ImportError:
- import ConfigParser as configparser
+import configparser
import os
import sys
import tempfile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]