~bennabiy/+junk/python-xlib

« back to all changes in this revision

Viewing changes to Xlib/support/vms_connect.py

  • Committer: Package Import Robot
  • Author(s): Andrew Shadura, Ramkumar Ramachandra, Andrew Shadura
  • Date: 2015-08-13 08:14:19 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20150813081419-hdefinnghp2iydkx
Tags: 0.14+20091101-3
[ Ramkumar Ramachandra ]
* Remove useless debugging output (Closes: #565996)

[ Andrew Shadura ]
* Switch to 3.0 (quilt) format.
* Rename patches.
* Use debhelper 9 in its short form.
* Use pybuild.
* Bump Standards-Version.
* Don't build or install PostScript documentation and info files.
* Use system-provided texi2html instead of a shipped version
  (Closes: #795057).
* Update debian/copyright (Closes: #795057).
* Don't install Makefile or texi2html with the documentation.
* Set executable bit for examples.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
61
61
        s.connect((host, 6000 + dno))
62
62
 
63
 
    except socket.error, val:
 
63
    except socket.error as val:
64
64
        raise error.DisplayConnectionError(dname, str(val))
65
65
 
66
66
    return s