Fix a couple of warnings shown by pyflakes

This commit is contained in:
J. David Ibáñez
2015-05-03 11:15:51 +02:00
parent 52dd956896
commit 6da3d8f8a8
2 changed files with 0 additions and 2 deletions

View File

@@ -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

View File

@@ -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]):