Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit e9028e8

Browse files
committed
fix failing travis builds
1 parent 301425c commit e9028e8

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ include tests/example.ovpn
44
include share/icons/hicolor/*/apps/eduvpn-client.png
55
include share/applications/*
66
include share/eduvpn/*
7+
include share/eduvpn/builder/*
78

eduvpn/util.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ def bytes2pixbuf(data, width=icon_size['width'], height=icon_size['height'], dis
6565
GtkPixbuf: a GTK Pixbuf
6666
6767
"""
68-
l = GdkPixbuf.PixbufLoader()
69-
l.set_size(width, height)
68+
loader = GdkPixbuf.PixbufLoader()
69+
loader.set_size(width, height)
7070
try:
71-
l.write(data)
72-
l.close()
71+
loader.write(data)
72+
loader.close()
7373
except GLib.Error as e:
7474
logger.error("can't process icon for {}: {}".format(display_name, str(e)))
7575
else:
76-
return l.get_pixbuf()
76+
return loader.get_pixbuf()
7777

7878

7979
@lru_cache(maxsize=1)

0 commit comments

Comments
 (0)