Skip to content

Commit c7254db

Browse files
committed
Fix E741 error in python bindings
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
1 parent db5ebc5 commit c7254db

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bindings/python/gi/overrides/Modulemd.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ def variant_bool(b):
4545
return GLib.Variant.new_boolean(b)
4646

4747
@staticmethod
48-
def variant_list(l):
48+
def variant_list(vl):
4949
""" Converts a list to a GLib.Variant
5050
"""
5151

5252
# If this is a zero-length array, handle it specially
53-
if len(l) == 0:
53+
if len(vl) == 0:
5454
return GLib.Variant.new_array(GLib.VariantType("v"))
5555

5656
# Build the array from each entry
5757
builder = GLib.VariantBuilder(GLib.VariantType("a*"))
58-
for item in l:
58+
for item in vl:
5959
if item is None:
6060
item = ""
6161
builder.add_value(ModulemdUtil.python_to_variant(item))

0 commit comments

Comments
 (0)