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

« back to all changes in this revision

Viewing changes to gp_macosx.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:
118
118
            persist = GnuplotOpts.prefer_persist
119
119
        if persist:
120
120
            if not test_persist():
121
 
                raise ('-persist does not seem to be supported '
 
121
                raise RuntimeError, ('-persist does not seem to be supported '
122
122
                       'by your version of gnuplot!')
123
123
            self.gnuplot = popen('%s -persist' % GnuplotOpts.gnuplot_command,
124
124
                                 'w')