Fix a couple of warnings shown by pyflakes
This commit is contained in:
@@ -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
|
||||
|
@@ -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]):
|
||||
|
Reference in New Issue
Block a user