Skip to content

Commit 95e7bbe

Browse files
committed
fix for bug #1999516 (invalid variable "format")
1 parent aca74e3 commit 95e7bbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Xlib/protocol/rq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def pack_value(self, value):
629629
fmt, val = value
630630

631631
if fmt not in (8, 16, 32):
632-
raise BadDataError('Invalid property data format %d' % format)
632+
raise BadDataError('Invalid property data format %d' % fmt)
633633

634634
if type(val) is types.StringType:
635635
size = fmt / 8

0 commit comments

Comments
 (0)