[Python-apps-commits] r6197 - in packages/pype/trunk/debian (4 files)

anoteng-guest at users.alioth.debian.org anoteng-guest at users.alioth.debian.org
Thu Oct 14 20:24:14 UTC 2010


    Date: Thursday, October 14, 2010 @ 20:23:21
  Author: anoteng-guest
Revision: 6197

Fix broken command shell.

Added:
  packages/pype/trunk/debian/patches/
  packages/pype/trunk/debian/patches/command-shell.patch
  packages/pype/trunk/debian/patches/series
Modified:
  packages/pype/trunk/debian/changelog

Modified: packages/pype/trunk/debian/changelog
===================================================================
--- packages/pype/trunk/debian/changelog	2010-10-12 21:08:24 UTC (rev 6196)
+++ packages/pype/trunk/debian/changelog	2010-10-14 20:23:21 UTC (rev 6197)
@@ -1,3 +1,9 @@
+pype (2.9.1-2) unstable; urgency=low
+
+  * Fix broken command shell (closes: #600227)
+
+ -- Andreas Noteng <andreas at noteng.no>  Thu, 14 Oct 2010 22:20:42 +0200
+
 pype (2.9.1-1) unstable; urgency=low
 
   * New upstream version (closes: #598661)

Added: packages/pype/trunk/debian/patches/command-shell.patch
===================================================================
--- packages/pype/trunk/debian/patches/command-shell.patch	                        (rev 0)
+++ packages/pype/trunk/debian/patches/command-shell.patch	2010-10-14 20:23:21 UTC (rev 6197)
@@ -0,0 +1,53 @@
+Index: pype/plugins/interpreter.py
+===================================================================
+--- pype/plugins/interpreter.py	(revision 74)
++++ pype/plugins/interpreter.py	(revision 75)
+@@ -96,7 +96,7 @@
+     if " " in command:
+         command = '"%s"'%command
+ elif sys.platform == 'linux2':
+-    command = '/bin/sh --noediting -i'
++    command = '/bin/sh -i'
+ else:
+     command = '/bin/sh'
+ 
+@@ -321,6 +321,7 @@
+         stc.StyledTextCtrl.__init__(self, parent, id)
+         self.lines = lineabstraction.LineAbstraction(self)
+         self.NEWDOCUMENT = _pype.NEWDOCUMENT+1
++        self.loaded = True
+         
+         global pypestc
+         if not pypestc:
+@@ -896,6 +897,7 @@
+ 
+     def CanPaste(self):
+         return stc.StyledTextCtrl.CanPaste(self) and self.CanEdit()
++
+     def Paste(self):
+         success = False
+         do = wx.TextDataObject()
+@@ -916,6 +918,7 @@
+         self.ReplaceSelection('')
+         
+         self.queue.extend(spliti(do.GetText(), '\n'))
++
+     def Cut(self):
+         if self.CanCut:
+             stc.StyledTextCtrl.Cut(self)
+@@ -927,6 +930,7 @@
+             if x[-1:] == '\n':
+                 self.processLine()
+         ## wx.FutureCall(pushlines_t, self.pushlines)
++
+     def MakeDirty(self, e=None):
+         f = self.filename
+         if f == ' ':
+@@ -938,6 +942,7 @@
+             c += 1
+         self.root.control.SetPageText(c, f)
+         self.root.redrawvisible(self)
++
+     def DeleteSelection(self, e=None):
+         range = self.GetSelection()
+         mi = min(range)

Added: packages/pype/trunk/debian/patches/series
===================================================================
--- packages/pype/trunk/debian/patches/series	                        (rev 0)
+++ packages/pype/trunk/debian/patches/series	2010-10-14 20:23:21 UTC (rev 6197)
@@ -0,0 +1 @@
+command-shell.patch




More information about the Python-apps-commits mailing list