From 6da3d8f8a83ea3fa035d5bd937017e292b2f59f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Sun, 3 May 2015 11:15:51 +0200 Subject: [PATCH] Fix a couple of warnings shown by pyflakes --- pygit2/_utils.py | 1 - pygit2/utils.py | 1 - 2 files changed, 2 deletions(-) diff --git a/pygit2/_utils.py b/pygit2/_utils.py index 75a1938..a67cf89 100644 --- a/pygit2/_utils.py +++ b/pygit2/_utils.py @@ -32,7 +32,6 @@ pygit2 at run-time. # Import from the Standard Library from binascii import crc32 -import inspect import codecs import os from os import getenv diff --git a/pygit2/utils.py b/pygit2/utils.py index 3bd548f..89bc7ee 100644 --- a/pygit2/utils.py +++ b/pygit2/utils.py @@ -64,7 +64,6 @@ class StrArray(object): if not isinstance(l, list): raise TypeError("Value must be a list") - arr = ffi.new('git_strarray *') strings = [None] * len(l) for i in range(len(l)): if not is_string(l[i]):