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
|
# Import from the Standard Library
|
||||||
from binascii import crc32
|
from binascii import crc32
|
||||||
import inspect
|
|
||||||
import codecs
|
import codecs
|
||||||
import os
|
import os
|
||||||
from os import getenv
|
from os import getenv
|
||||||
|
@@ -64,7 +64,6 @@ class StrArray(object):
|
|||||||
if not isinstance(l, list):
|
if not isinstance(l, list):
|
||||||
raise TypeError("Value must be a list")
|
raise TypeError("Value must be a list")
|
||||||
|
|
||||||
arr = ffi.new('git_strarray *')
|
|
||||||
strings = [None] * len(l)
|
strings = [None] * len(l)
|
||||||
for i in range(len(l)):
|
for i in range(len(l)):
|
||||||
if not is_string(l[i]):
|
if not is_string(l[i]):
|
||||||
|
Reference in New Issue
Block a user