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

« back to all changes in this revision

Viewing changes to gp_unix.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:
184
184
            persist = GnuplotOpts.prefer_persist
185
185
        if persist:
186
186
            if not test_persist():
187
 
                raise ('-persist does not seem to be supported '
 
187
                raise RuntimeError, ('-persist does not seem to be supported '
188
188
                       'by your version of gnuplot!')
189
189
            self.gnuplot = popen('%s -persist' % GnuplotOpts.gnuplot_command,
190
190
                                 'w')