Skip to content

Commit f0cf4cc

Browse files
committed
[ 1162770 ] wrong error message: fixed
1 parent ff8041a commit f0cf4cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Xlib/protocol/rq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: rq.py,v 1.14 2002-02-25 11:09:23 petli Exp $
1+
# $Id: rq.py,v 1.15 2005-03-29 05:21:03 calroc99 Exp $
22
#
33
# Xlib.protocol.rq -- structure primitives for request, events and errors
44
#
@@ -631,7 +631,7 @@ def pack_value(self, value):
631631
fmt, val = value
632632

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

636636
if type(val) is types.StringType:
637637
size = fmt / 8

0 commit comments

Comments
 (0)