c_client.py: Fix python-3 invalid except statement
[free-sw/xcb/libxcb] / src / c_client.py
index 9952a09..ec66223 100644 (file)
@@ -2908,7 +2908,7 @@ Refer to the README file in xcb/proto for more info.
 # Ensure the man subdirectory exists
 try:
     os.mkdir('man')
-except OSError, e:
+except OSError as e:
     if e.errno != errno.EEXIST:
         raise