~ubuntu-branches/ubuntu/raring/python-gnuplot/raring-proposed

« back to all changes in this revision

Viewing changes to _Gnuplot.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-01-26 17:42:40 UTC
  • Revision ID: package-import@ubuntu.com-20130126174240-t9tvszlgbxyf4tk0
Tags: 1.8-2
* QA upload.
* Orphan the package.
* Build using dh_python2 instead of dh_pycentral. Closes: #617007.
* Recommend gnuplot instead of depending on it. Closes: #600349.
* Avoid string exceptions. Closes: #585295.
* Fix lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
450
450
            try:
451
451
                type = self.optiontypes[k]
452
452
            except KeyError:
453
 
                raise 'option %s is not supported' % (k,)
 
453
                raise KeyError, 'option %s is not supported' % (k,)
454
454
            getattr(self, 'set_%s' % type)(k, v)
455
455
 
456
456
    def xlabel(self, s=None, offset=None, font=None):