~bennabiy/+junk/python-xlib

« back to all changes in this revision

Viewing changes to Xlib/error.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:
16
16
#    along with this program; if not, write to the Free Software
17
17
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
18
 
19
 
# Standard modules
20
 
import string
21
 
 
22
19
# Xlib modules
23
 
import X
 
20
from Xlib import X
24
21
 
25
22
# Xlib.protocol modules
26
23
from Xlib.protocol import rq
78
75
                  'major_opcode', 'minor_opcode'):
79
76
            s.append('%s = %s' % (f, self._data[f]))
80
77
 
81
 
        return '%s: %s' % (self.__class__, string.join(s, ', '))
 
78
        return '%s: %s' % (self.__class__, ', '.join(s))
82
79
 
83
80
class XResourceError(XError):
84
81
    _fields = rq.Struct( rq.Card8('type'),  # Always 0