From 7fb8b0f1559aabc556e844e874104688ccaaf751 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 16 Jun 2016 14:20:07 +0100 Subject: [PATCH] Remove another redundant io import --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index fd45e743b..130a9f9c6 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,6 @@ import glob import codecs import subprocess from stat import ST_MODE -import io from gramps.version import VERSION import unittest import argparse @@ -273,8 +272,7 @@ class install(_install): def run(self): resource_file = os.path.join(os.path.dirname(__file__), 'gramps', 'gen', 'utils', 'resource-path') - with io.open(resource_file, 'w', encoding='utf-8', - errors='strict') as fp: + with open(resource_file, 'w', encoding='utf-8', errors='strict') as fp: if packaging: path = resource_path else: