commit fails because of missing import in msgeditor.py

Bug #42708 reported by Marc Poulhiès
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Unassigned

Bug Description

(using latest bzr.dev)
$ bzr commit .
bzr: ERROR: exceptions.NameError: global name 'sys' is not defined
  at /home/marc/bzr/bzr.dev/bzrlib/msgeditor.py line 43
  in _get_editor

adding an 'import sys' in msgeditor fixes the problem (I guess this because of rev 1690 that adds a sys.plateform test).

Revision history for this message
Marc Poulhiès (marc-poulhies) wrote : trivial patch

simply adds the missing "import sys" to msgeditor.py

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 42708] commit fails because of missing import in msgeditor.py

On Wed, 2006-05-03 at 07:24 +0000, Marc Poulhiès wrote:
> Public bug reported:
>
> Affects: bzr (upstream)
> Severity: Normal
> Priority: (none set)
> Status: Unconfirmed
>
>
> Description:
> (using latest bzr.dev)
> $ bzr commit .
> bzr: ERROR: exceptions.NameError: global name 'sys' is not defined
> at /home/marc/bzr/bzr.dev/bzrlib/msgeditor.py line 43
> in _get_editor
>
> adding an 'import sys' in msgeditor fixes the problem (I guess this
> because of rev 1690 that adds a sys.plateform test).
>
> ** Attachment added: "trivial patch"
> http://librarian.launchpad.net/2450488/bzr.diff

This is fixed as of about 30 minutes ago :)

Rob

--
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Revision history for this message
Robert Collins (lifeless) wrote :

this was a transient bug during 0.8 development

Changed in bzr:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.