~jordens/ipython/debian-python-modules

« back to all changes in this revision

Viewing changes to debian/patches/debianize-error-messages.patch

  • Committer: jtaylor-guest
  • Date: 2013-02-26 18:32:20 UTC
  • Revision ID: svn-v4:771dd761-d7fa-0310-a302-f036d1c1ebb6:packages/ipython/trunk:23606
add missing parenthesis to patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
+        from IPython.utils import py3compat
46
46
         raise TryNext("Getting text from the clipboard on this platform "
47
47
-                      "requires Tkinter.")
48
 
+                      "requires the %s-tk package." % "python3" if py3compat.PY3 else "python")
 
48
+                      "requires the %s-tk package." % ("python3" if py3compat.PY3 else "python"))
49
49
     root = Tkinter.Tk()
50
50
     root.withdraw()
51
51
     text = root.clipboard_get()