Merge lp:~sergiusens/phablet-tools/uibu_script_fixes into lp:phablet-tools

Proposed by Sergio Schvezov
Status: Merged
Approved by: Sergio Schvezov
Approved revision: 154
Merged at revision: 155
Proposed branch: lp:~sergiusens/phablet-tools/uibu_script_fixes
Merge into: lp:phablet-tools
Diff against target: 20 lines (+1/-2)
1 file modified
phabletutils/projects.py (+1/-2)
To merge this branch: bzr merge lp:~sergiusens/phablet-tools/uibu_script_fixes
Reviewer Review Type Date Requested Status
Andy Doan (community) Approve
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+179504@code.launchpad.net

Commit message

phablet-flash: Using the correct script for an Image Based Upgrade.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andy Doan (doanac) wrote :

works for me

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'phabletutils/projects.py'
2--- phabletutils/projects.py 2013-08-09 01:41:05 +0000
3+++ phabletutils/projects.py 2013-08-09 17:33:14 +0000
4@@ -25,7 +25,6 @@
5 from phabletutils.downloads import checksum_verify
6 from phabletutils.resources import (File, SignedFile)
7 from phabletutils import downloads
8-from phabletutils import settings
9 from time import sleep
10 from textwrap import dedent
11
12@@ -231,7 +230,7 @@
13 def create_ubuntu_command_file(self):
14 ubuntu_command_file = tempfile.NamedTemporaryFile(delete=False)
15 with ubuntu_command_file as output_file:
16- output_file.write(settings.ubuntu_recovery_script)
17+ output_file.write(self.ubuntu_recovery_script)
18 output_file.write(self._command_part)
19 output_file.write('unmount system\n')
20 return ubuntu_command_file.name

Subscribers

People subscribed via source and target branches