c_client.py: Fix python-3 invalid except statement

Replace except statement with a PEP-3110 compliant one. This fixes a regression
introduced by c3deeaf714
https://bugs.freedesktop.org/show_bug.cgi?id=55690

Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Chí-Thanh Christopher Nguyễn 2012-10-11 01:14:12 +02:00 committed by Uli Schlachter
parent 9db4517c87
commit 76a2166de9

View File

@ -2908,7 +2908,7 @@ Refer to the README file in xcb/proto for more info.
# Ensure the man subdirectory exists # Ensure the man subdirectory exists
try: try:
os.mkdir('man') os.mkdir('man')
except OSError, e: except OSError as e:
if e.errno != errno.EEXIST: if e.errno != errno.EEXIST:
raise raise