Merge lp://qastaging/~barcc/acire/modified_with_images into lp://qastaging/acire

Proposed by B. Clausius
Status: Merged
Approved by: Jono Bacon
Approved revision: 28
Merge reported by: Jono Bacon
Merged at revision: not available
Proposed branch: lp://qastaging/~barcc/acire/modified_with_images
Merge into: lp://qastaging/acire
Diff against target: 12 lines (+1/-1)
1 file modified
bin/acire (+1/-1)
To merge this branch: bzr merge lp://qastaging/~barcc/acire/modified_with_images
Reviewer Review Type Date Requested Status
Jono Bacon Approve
Review via email: mp+20289@code.qastaging.launchpad.net
To post a comment you must log in.
Revision history for this message
B. Clausius (barcc) wrote :

when running a modified file that loads an image (e.g. images.py) it fails because the working directory is set to the temp directory.
This branch sets the working dir for all code to the dir of the orig file.

Revision history for this message
Jono Bacon (jonobacon) wrote :

Merged in. :-)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/acire'
2--- bin/acire 2010-02-27 19:12:10 +0000
3+++ bin/acire 2010-02-28 01:49:12 +0000
4@@ -261,7 +261,7 @@
5 os.close(tmp_sn_fd)
6
7 argv = [cmd, tmp_sn_filename]
8- directory = os.path.split(tmp_sn_filename)[0]
9+ directory = os.path.dirname(self.current_filename)
10 self.terminal.fork_command(command=cmd, argv=argv, envv=None, directory=directory)
11 self.terminal_expander.set_expanded(True)
12 ###if self.editor_buffer.get_modified() == True:

Subscribers

People subscribed via source and target branches