From f075aa36658fb9ccd143cb249ff8be22d99306a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Fri, 24 May 2013 21:34:10 +0200 Subject: [PATCH] Fix some "errors" found by pyflakes --- pygit2/__init__.py | 1 - pygit2/utils.py | 29 ----------------------------- test/utils.py | 1 - 3 files changed, 31 deletions(-) delete mode 100644 pygit2/utils.py diff --git a/pygit2/__init__.py b/pygit2/__init__.py index e246ff8..e59d3c3 100644 --- a/pygit2/__init__.py +++ b/pygit2/__init__.py @@ -35,7 +35,6 @@ from _pygit2 import * # High level API from .repository import Repository from .version import __version__ -import pygit2.utils def init_repository(path, bare=False): diff --git a/pygit2/utils.py b/pygit2/utils.py deleted file mode 100644 index 79e6040..0000000 --- a/pygit2/utils.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright 2010-2013 The pygit2 contributors -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License, version 2, -# as published by the Free Software Foundation. -# -# In addition to the permissions in the GNU General Public License, -# the authors give you unlimited permission to link the compiled -# version of this file into combinations with other programs, -# and to distribute those combinations without any restriction -# coming from the use of this file. (The General Public License -# restrictions do apply in other respects; for example, they cover -# modification of the file, and distribution when not linked into -# a combined executable.) -# -# This file is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Fifth Floor, -# Boston, MA 02110-1301, USA. - - -# feel free to add utils functions here diff --git a/test/utils.py b/test/utils.py index 27da92a..10a4e17 100644 --- a/test/utils.py +++ b/test/utils.py @@ -27,7 +27,6 @@ """Test utilities for libgit2.""" -from binascii import b2a_hex import sys import os import shutil