[Reportbug-commits] r559 - in (4 files)
bignose-guest at users.alioth.debian.org
bignose-guest at users.alioth.debian.org
Wed Jul 2 09:03:32 UTC 2008
Date: Wednesday, July 2, 2008 @ 09:03:31
Author: bignose-guest
Revision: 559
Merge fix from reportbug.bug-488928/.
Modified:
trunk/ (properties)
trunk/debian/changelog
trunk/reportbuglib/reportbug_ui_urwid.py
trunk/test/test_reportbug_ui_urwid.py
Property changes on: trunk
___________________________________________________________________
Name: bzr:revision-info
- timestamp: 2008-06-22 15:13:01.459000111 +1000
committer: Ben Finney <ben+debian at benfinney.id.au>
properties:
branch-nick: reportbug.trunk
+ timestamp: 2008-07-02 19:02:50.174999952 +1000
committer: Ben Finney <ben+debian at benfinney.id.au>
properties:
branch-nick: reportbug.trunk
Name: bzr:ancestry:v3-trunk0
- svn-v3-trunk0:692dde74-6b68-4300-bcb1-27de2ae967a4:trunk:465
ben at benfinney.id.au-20080513092239-x05am8p276tb2kg1
svn-v3-trunk0:692dde74-6b68-4300-bcb1-27de2ae967a4:trunk:493
ben at benfinney.id.au-20080519091029-06dxmqwzhb3yilyx
ben+debian at benfinney.id.au-20080612074608-st90p1fu8an15aoa
ben+debian at benfinney.id.au-20080617140938-8u29ck3oyx6nvup8
+ svn-v3-trunk0:692dde74-6b68-4300-bcb1-27de2ae967a4:trunk:465
ben at benfinney.id.au-20080513092239-x05am8p276tb2kg1
svn-v3-trunk0:692dde74-6b68-4300-bcb1-27de2ae967a4:trunk:493
ben at benfinney.id.au-20080519091029-06dxmqwzhb3yilyx
ben+debian at benfinney.id.au-20080612074608-st90p1fu8an15aoa
ben+debian at benfinney.id.au-20080617140938-8u29ck3oyx6nvup8
ben+debian at benfinney.id.au-20080702090130-fkv8irwnwsyuih7w
Name: bzr:revision-id:v3-trunk0
- 5 ben at benfinney.id.au-20080504081108-ykaq013niveq5do4
6 ben at benfinney.id.au-20080504094936-i9nzchzppijemjel
7 ben at benfinney.id.au-20080504095004-vo7hae1dlvslyd3n
8 ben at benfinney.id.au-20080504095020-oednextpvn7t5rlu
9 ben at benfinney.id.au-20080504125948-1d4g9xepct6kvi0z
10 ben at benfinney.id.au-20080505220724-b7ukefql4qvpx1xw
11 ben at benfinney.id.au-20080507013031-erl1rubn3zy43kh1
12 ben at benfinney.id.au-20080507013710-oajkqze1er4rinls
13 ben at benfinney.id.au-20080507013915-1d5jewvzy941j453
14 ben at benfinney.id.au-20080507020935-m09yffl1on5ozaq0
20 ben at benfinney.id.au-20080509011507-nlyos9rk6v98z7gr
21 ben at benfinney.id.au-20080512042402-45bz136iaqqkso1m
22 ben at benfinney.id.au-20080512092913-hiqsjx1c4zne12ww
23 ben at benfinney.id.au-20080512134453-rk2z4cd96cj878gs
24 ben at benfinney.id.au-20080513090758-hjyz92rywt82hqiq
25 ben at benfinney.id.au-20080513123205-1owd1pz25e4hzo6l
26 ben at benfinney.id.au-20080513123517-khu4vub7y2zj5p8p
27 ben at benfinney.id.au-20080513134345-8973ffg30e04g3tu
28 ben at benfinney.id.au-20080514005413-5k4l7lw8e5vaq7e1
29 ben at benfinney.id.au-20080514005730-7glxrw4uzpkubnla
31 ben at benfinney.id.au-20080514131718-ntlmu9p75d47deip
32 ben at benfinney.id.au-20080514132358-uauqumygnnej6pjf
33 ben at benfinney.id.au-20080514132753-gav8kbe3dspapd7u
34 ben at benfinney.id.au-20080514133059-cy6u29i5moykrtnh
35 ben at benfinney.id.au-20080514133553-5widku0hx6nsff9d
36 ben at benfinney.id.au-20080514134337-n4oqeqmxoziqien1
37 ben at benfinney.id.au-20080515235707-onlz56zkx3x12i5r
38 ben at benfinney.id.au-20080516000116-t4vrd4o9i80bd0z5
42 ben at benfinney.id.au-20080519091300-2tkjv4jw6qrb86kh
43 ben at benfinney.id.au-20080520220815-s25jq1htw43z0p03
44 ben at benfinney.id.au-20080520221009-b9oy325k68s6qvo0
45 ben at benfinney.id.au-20080520221158-polu6p88z9o4vek2
46 ben at benfinney.id.au-20080520221519-1tml0hwsd1qku2sy
69 ben+debian at benfinney.id.au-20080612074858-jnkcbbl4pbjgdm4l
70 ben+debian at benfinney.id.au-20080615010748-jkvfjh5v343fic43
71 ben+debian at benfinney.id.au-20080615013432-5cib04snx3kw7ld8
72 ben+debian at benfinney.id.au-20080615015457-typdye8lub7o60ni
73 ben+debian at benfinney.id.au-20080615034123-yafapmxdntwsx23x
74 ben+debian at benfinney.id.au-20080615055311-2ebau3j0zqvny5r3
75 ben+debian at benfinney.id.au-20080615061738-eksd4xtmwy99wgwf
76 ben+debian at benfinney.id.au-20080615062842-aijpcia9hafw110x
77 ben+debian at benfinney.id.au-20080615070648-ijuzhq58m935y3cm
78 ben+debian at benfinney.id.au-20080615072705-2bxpn1lnrif25k5x
79 ben+debian at benfinney.id.au-20080615074730-2v9j4ozqbl02rhrj
80 ben+debian at benfinney.id.au-20080615074918-d7rq1dv6o8y47p7s
81 ben+debian at benfinney.id.au-20080615084002-d1q4qte57n0v9rpp
82 ben+debian at benfinney.id.au-20080615092649-6wxbxyzovkill4dk
83 ben+debian at benfinney.id.au-20080615095735-29ebi4gg9jjqq40q
84 ben+debian at benfinney.id.au-20080615113512-zh2drdguy0hb5ae3
86 ben+debian at benfinney.id.au-20080617141735-u2dsp144palhzcd7
88 ben+debian at benfinney.id.au-20080620094349-f0n3abicwbafev2p
89 ben+debian at benfinney.id.au-20080622051301-9cden8n8w1syews1
+ 5 ben at benfinney.id.au-20080504081108-ykaq013niveq5do4
6 ben at benfinney.id.au-20080504094936-i9nzchzppijemjel
7 ben at benfinney.id.au-20080504095004-vo7hae1dlvslyd3n
8 ben at benfinney.id.au-20080504095020-oednextpvn7t5rlu
9 ben at benfinney.id.au-20080504125948-1d4g9xepct6kvi0z
10 ben at benfinney.id.au-20080505220724-b7ukefql4qvpx1xw
11 ben at benfinney.id.au-20080507013031-erl1rubn3zy43kh1
12 ben at benfinney.id.au-20080507013710-oajkqze1er4rinls
13 ben at benfinney.id.au-20080507013915-1d5jewvzy941j453
14 ben at benfinney.id.au-20080507020935-m09yffl1on5ozaq0
20 ben at benfinney.id.au-20080509011507-nlyos9rk6v98z7gr
21 ben at benfinney.id.au-20080512042402-45bz136iaqqkso1m
22 ben at benfinney.id.au-20080512092913-hiqsjx1c4zne12ww
23 ben at benfinney.id.au-20080512134453-rk2z4cd96cj878gs
24 ben at benfinney.id.au-20080513090758-hjyz92rywt82hqiq
25 ben at benfinney.id.au-20080513123205-1owd1pz25e4hzo6l
26 ben at benfinney.id.au-20080513123517-khu4vub7y2zj5p8p
27 ben at benfinney.id.au-20080513134345-8973ffg30e04g3tu
28 ben at benfinney.id.au-20080514005413-5k4l7lw8e5vaq7e1
29 ben at benfinney.id.au-20080514005730-7glxrw4uzpkubnla
31 ben at benfinney.id.au-20080514131718-ntlmu9p75d47deip
32 ben at benfinney.id.au-20080514132358-uauqumygnnej6pjf
33 ben at benfinney.id.au-20080514132753-gav8kbe3dspapd7u
34 ben at benfinney.id.au-20080514133059-cy6u29i5moykrtnh
35 ben at benfinney.id.au-20080514133553-5widku0hx6nsff9d
36 ben at benfinney.id.au-20080514134337-n4oqeqmxoziqien1
37 ben at benfinney.id.au-20080515235707-onlz56zkx3x12i5r
38 ben at benfinney.id.au-20080516000116-t4vrd4o9i80bd0z5
42 ben at benfinney.id.au-20080519091300-2tkjv4jw6qrb86kh
43 ben at benfinney.id.au-20080520220815-s25jq1htw43z0p03
44 ben at benfinney.id.au-20080520221009-b9oy325k68s6qvo0
45 ben at benfinney.id.au-20080520221158-polu6p88z9o4vek2
46 ben at benfinney.id.au-20080520221519-1tml0hwsd1qku2sy
69 ben+debian at benfinney.id.au-20080612074858-jnkcbbl4pbjgdm4l
70 ben+debian at benfinney.id.au-20080615010748-jkvfjh5v343fic43
71 ben+debian at benfinney.id.au-20080615013432-5cib04snx3kw7ld8
72 ben+debian at benfinney.id.au-20080615015457-typdye8lub7o60ni
73 ben+debian at benfinney.id.au-20080615034123-yafapmxdntwsx23x
74 ben+debian at benfinney.id.au-20080615055311-2ebau3j0zqvny5r3
75 ben+debian at benfinney.id.au-20080615061738-eksd4xtmwy99wgwf
76 ben+debian at benfinney.id.au-20080615062842-aijpcia9hafw110x
77 ben+debian at benfinney.id.au-20080615070648-ijuzhq58m935y3cm
78 ben+debian at benfinney.id.au-20080615072705-2bxpn1lnrif25k5x
79 ben+debian at benfinney.id.au-20080615074730-2v9j4ozqbl02rhrj
80 ben+debian at benfinney.id.au-20080615074918-d7rq1dv6o8y47p7s
81 ben+debian at benfinney.id.au-20080615084002-d1q4qte57n0v9rpp
82 ben+debian at benfinney.id.au-20080615092649-6wxbxyzovkill4dk
83 ben+debian at benfinney.id.au-20080615095735-29ebi4gg9jjqq40q
84 ben+debian at benfinney.id.au-20080615113512-zh2drdguy0hb5ae3
86 ben+debian at benfinney.id.au-20080617141735-u2dsp144palhzcd7
88 ben+debian at benfinney.id.au-20080620094349-f0n3abicwbafev2p
89 ben+debian at benfinney.id.au-20080622051301-9cden8n8w1syews1
96 ben+debian at benfinney.id.au-20080702090250-3fqlg3dfjdsgizeq
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-06-29 23:26:16 UTC (rev 558)
+++ trunk/debian/changelog 2008-07-02 09:03:31 UTC (rev 559)
@@ -1,3 +1,12 @@
+reportbug (3.43) UNRELEASED; urgency=medium
+
+ [ Ben Finney ]
+ * reportbuglib/reportbug_ui_urwid.py
+ + Ensure 'spawn_editor' is available for 'urwid' interface
+ (closes: #488928).
+
+ -- Ben Finney <ben+debian at benfinney.id.au> Wed, 02 Jul 2008 18:47:18 +1000
+
reportbug (3.42) unstable; urgency=low
[ Sandro Tosi ]
@@ -297,7 +306,7 @@
* Bail out immediately if no subject specified in a followup.
(Closes: #403668)
* Update French man page. (Closes: #400276)
-
+
-- Chris Lawrence <lawrencc at debian.org> Sat, 23 Dec 2006 00:44:51 -0600
reportbug (3.31) unstable; urgency=low
@@ -333,7 +342,7 @@
* Add an extra EHLO when doing STARTTLS, since (contrary to the smtplib
documentation) smtplib seems to need it. (Closes: #3226523)
* Fix crash when bugtitle lacks a colon. (Closes: #389259)
-
+
-- Chris Lawrence <lawrencc at debian.org> Thu, 28 Sep 2006 21:16:38 -0500
reportbug (3.29.5) unstable; urgency=low
@@ -503,7 +512,7 @@
.reportbugrc files with 'bugs.debian.org' as the smtphost, and noisily
overrides any 'master.debian.org' settings it sees. (Closes: #338900)
* s/kernel-image/linux-image/ (Closes: #336871)
- * Generate a Message-ID for every message sent by reportbug.
+ * Generate a Message-ID for every message sent by reportbug.
(Closes: #341325)
-- Chris Lawrence <lawrencc at debian.org> Tue, 29 Nov 2005 23:29:24 -0500
@@ -534,7 +543,7 @@
* vi nag now includes how to disable it. (Closes: #322852)
* Better handling for the case where $HOME doesn't exist during a
config run. (Closes: #323595)
-
+
-- Chris Lawrence <lawrencc at debian.org> Mon, 22 Aug 2005 01:57:31 -0400
reportbug (3.15) unstable; urgency=low
@@ -581,7 +590,7 @@
* Nag novice users if they use vi. (Closes: #299172)
* When calling an MTA, separate addresses with spaces rather than
commas. (Closes: #308293, #308543)
-
+
-- Chris Lawrence <lawrencc at debian.org> Tue, 10 May 2005 17:24:01 -0500
reportbug (3.11) unstable; urgency=low
@@ -724,7 +733,7 @@
* Don't check packages.debian.org if options.bts is set to something
other than "debian".
* Incorporate applicable changes in 2.62ubuntu1 to this tree.
-
+
(Main advantage: --bts=ubuntu works now. If someone will kindly tell
me an easy way to tell a Ubuntu system from a Debian one, I will
incorporate code to eliminate the need for the forked package. Same
@@ -802,7 +811,7 @@
* If signing fails, don't bail out; instead, send the message unsigned.
(Closes: #259649)
* Hide the security tag with severities < grave. (Closes: #258333)
-
+
-- Chris Lawrence <lawrencc at debian.org> Wed, 28 Jul 2004 20:28:24 -0400
reportbug (2.63) unstable; urgency=low
@@ -1364,7 +1373,7 @@
* Avoid Ctrl-C tracebacks. (Closes: #181475)
* Rerun reportbug after the initial configuration. (Closes: #195636)
* Fix browser launch from newt interface. (Closes: #180791)
-
+
-- Chris Lawrence <lawrencc at debian.org> Fri, 20 Jun 2003 02:24:06 -0500
reportbug (2.10.2) unstable; urgency=low
@@ -1404,7 +1413,7 @@
* Don't declare a character set on anything we send. This should
resolve all of the following...
(Closes: #165720, #166495, #166248, #166819)
- (The right thing to do is figure out what character set is used, but
+ (The right thing to do is figure out what character set is used, but
I'm not writing a full-blown MUA here...)
* Rewrite to use MIMEMultipart instead of MIMEBase.
(Closes: #165856, #167222)
@@ -1429,7 +1438,7 @@
exceed line-length limitations.
+ Still QP-encode message bodies, since nobody's complained about
that yet.
-
+
-- Chris Lawrence <lawrencc at debian.org> Sat, 19 Oct 2002 16:56:29 -0500
reportbug (2.7) unstable; urgency=low
@@ -1455,12 +1464,12 @@
* The "I thought Python 2.2 was feature-frozen" release.
* Back off on the email module's overaggressive quoting of ASCII
- characters in headers. (Something like reportbug::encode_if_needed
+ characters in headers. (Something like reportbug::encode_if_needed
probably should migrate into the email module for everyone's sanity.)
* I should also back off on the overaggressive q-p encoding of message
bodies, but we get a lhuvely DeprecationWarning if we do that...
* Did I mention I thought Python 2.2 was feature-frozen?
-
+
-- Chris Lawrence <lawrencc at debian.org> Thu, 17 Oct 2002 20:00:53 -0500
reportbug (2.5) unstable; urgency=low
@@ -1686,7 +1695,7 @@
type the bug text in the editor. This prompt is stripped from the
message after editing.
* Cleaned up external script support.
-
+
-- Chris Lawrence <lawrencc at debian.org> Thu, 4 Jul 2002 17:49:11 -0400
reportbug (1.99.45) unstable; urgency=low
@@ -1789,7 +1798,7 @@
* Fix odd issues in dependency printing code with libcomerr and the like.
* Fix query problem where a package's Source: line has a version number
in it. (Closes: #149000)
-
+
-- Chris Lawrence <lawrencc at debian.org> Tue, 4 Jun 2002 15:13:03 -0500
reportbug (1.99.34) unstable; urgency=low
@@ -1960,7 +1969,7 @@
* Check packages.debian.org in addition to the status database when
filing an ITP/RFP, as the status database may include false positives
when the package is built locally but not in Debian. (Closes: #146614)
-
+
-- Chris Lawrence <lawrencc at debian.org> Sun, 12 May 2002 22:10:17 -0500
reportbug (1.99.16) experimental; urgency=low
@@ -2151,7 +2160,7 @@
reports of this issue will be merged with #131100. You have been warned.
* Added a diagnostic routine, per README.developers spec.
(It also shows how to write one in something other than bash.)
-
+
-- Chris Lawrence <lawrencc at debian.org> Fri, 1 Feb 2002 03:33:38 -0600
reportbug (1.41.1421356) unstable; urgency=medium
@@ -2635,7 +2644,7 @@
some time.) Try reporting a wnpp bug to see what it does... who
knows, you may even like it ;-)
* Updated priority to 'standard'.
-
+
-- Chris Lawrence <lawrencc at debian.org> Tue, 6 Feb 2001 09:58:01 -0600
reportbug (1.11) unstable; urgency=medium
@@ -2666,7 +2675,7 @@
* Leading and trailing spaces on input are now stripped. This shouldn't
hurt anything, and makes tab completion behave nicely.
* Complies to policy 3.2.1.0, no changes necessary.
-
+
-- Chris Lawrence <lawrencc at debian.org> Sat, 27 Jan 2001 00:41:34 -0600
reportbug (1.9) unstable; urgency=medium
@@ -2869,7 +2878,7 @@
* Disabled bug template support; removed our example file. An
implementation of the more flexible system used by 'bug' will appear
when I actually have some time to code.
-
+
-- Chris Lawrence <lawrencc at debian.org> Fri, 10 Mar 2000 18:39:12 -0800
reportbug (0.53) frozen unstable; urgency=medium
@@ -2969,7 +2978,7 @@
* You can now enter a bug number at the "Is the bug you found..."
prompt. (Closes: #52309)
* Cleaned up Ctrl-C exit from querybts.
-
+
-- Chris Lawrence <lawrencc at debian.org> Fri, 10 Dec 1999 23:57:25 -0600
reportbug (0.45) unstable; urgency=low
@@ -2993,7 +3002,7 @@
reportbug (0.43) unstable; urgency=low
- * Back out change in 0.42 that broke reportbug if you didn't have a
+ * Back out change in 0.42 that broke reportbug if you didn't have a
"real name". (Closes: #50378)
* Don't try to get input in find_package_for() if we don't have a TTY.
Instead, list matching package names. (Closes: #50622)
@@ -3170,7 +3179,7 @@
This allows C-u M-! reportbug (options) in emacs to generate a nicely
formatted report template. Thanks to Francesco Potorti` for the
report.
-
+
-- Chris Lawrence <lawrencc at debian.org> Mon, 6 Sep 1999 16:04:12 -0500
reportbug (0.26) unstable; urgency=low
@@ -3262,7 +3271,7 @@
package appears in brackets after the name.
-- Chris Lawrence <lawrencc at debian.org> Wed, 28 Jul 1999 03:55:12 -0500
-
+
reportbug (0.18) unstable; urgency=low
* Generate a message for unreadable conf files instead of stopping with
Modified: trunk/reportbuglib/reportbug_ui_urwid.py
===================================================================
--- trunk/reportbuglib/reportbug_ui_urwid.py 2008-06-29 23:26:16 UTC (rev 558)
+++ trunk/reportbuglib/reportbug_ui_urwid.py 2008-07-02 09:03:31 UTC (rev 559)
@@ -34,7 +34,10 @@
NoPackage, NoBugs, NoNetwork, NoReport,
)
from urlutils import launch_browser
-from reportbug_ui_text import ewrite
+from reportbug_ui_text import (
+ ewrite,
+ spawn_editor,
+ )
try:
import urwid.raw_display
Modified: trunk/test/test_reportbug_ui_urwid.py
===================================================================
--- trunk/test/test_reportbug_ui_urwid.py 2008-06-29 23:26:16 UTC (rev 558)
+++ trunk/test/test_reportbug_ui_urwid.py 2008-07-02 09:03:31 UTC (rev 559)
@@ -12,5 +12,36 @@
"""
import scaffold
+from scaffold import TestCase
from reportbuglib import reportbug_ui_urwid
+from reportbuglib import reportbug_ui_text
+
+
+class Test_ewrite(TestCase):
+ """ Test cases for 'ewrite' """
+
+ def test_is_expected_object(self):
+ """ Module should have expected 'ewrite' attribute """
+ attribute_name = 'ewrite'
+ func = getattr(reportbug_ui_urwid, attribute_name)
+ expect_func = getattr(reportbug_ui_text, attribute_name)
+ fail_msg = (
+ "Module attribute %(attribute_name)r"
+ " should be object %(expect_func)r"
+ ) % vars()
+ self.failUnlessIs(expect_func, func, msg=fail_msg)
+
+class Test_spawn_editor(TestCase):
+ """ Test cases for 'spawn_editor' """
+
+ def test_is_expected_object(self):
+ """ Module should have expected 'spawn_editor' attribute """
+ attribute_name = 'spawn_editor'
+ func = getattr(reportbug_ui_urwid, attribute_name)
+ expect_func = getattr(reportbug_ui_text, attribute_name)
+ fail_msg = (
+ "Module attribute %(attribute_name)r"
+ " should be object %(expect_func)r"
+ ) % vars()
+ self.failUnlessIs(expect_func, func, msg=fail_msg)
More information about the Reportbug-commits
mailing list