Merge lp:~arthur-she/lava-dispatcher/fix-for-bug-1175818 into lp:lava-dispatcher
Proposed by
Arthur She
Status: | Merged |
---|---|
Approved by: | Senthil Kumaran S |
Approved revision: | 597 |
Merged at revision: | 596 |
Proposed branch: | lp:~arthur-she/lava-dispatcher/fix-for-bug-1175818 |
Merge into: | lp:lava-dispatcher |
Diff against target: |
22 lines (+6/-2) 1 file modified
lava_dispatcher/device/master.py (+6/-2) |
To merge this branch: | bzr merge lp:~arthur-she/lava-dispatcher/fix-for-bug-1175818 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Senthil Kumaran S | Approve | ||
Antonio Terceiro | Needs Fixing | ||
Review via email: mp+162946@code.launchpad.net |
Description of the change
Update variable MASTER_PS1 & MASTER_PS1_PATTERN according to config file
To post a comment you must log in.
Hi Arthur,
Thanks for working on this.
> === modified file 'lava_dispatche r/device/ master. py' /device/ master. py 2013-05-02 21:43:14 +0000 /device/ master. py 2013-05-08 09:30:42 +0000 et(Target) : geTarget, self)._ _init__ (context, config) master_ str + self.MASTER_PS1 PS1_PATTERN = self.config. master_ str + self.MASTER_ PS1_PATTERN
> --- lava_dispatcher
> +++ lava_dispatcher
> @@ -61,12 +61,16 @@
>
> class MasterImageTarg
>
> - MASTER_PS1 = 'root@master [rc=$(echo \$?)]# '
> - MASTER_PS1_PATTERN = 'root@master \[rc=(\d+)\]# '
> + MASTER_PS1 = ' [rc=$(echo \$?)]# '
> + MASTER_PS1_PATTERN = ' \[rc=(\d+)\]# '
>
> def __init__(self, context, config):
> super(MasterIma
>
> + # Update variable according to config file
> + self.MASTER_PS1 = self.config.
> + self.MASTER_
> +
The indentation is broken here, mixing tabs and spaces. Please adjust
your editor to not use tabs, and make sure the new code aligns
horizontally with the existing code.
> Target. android_ deployment_ data['boot_ cmds'] = 'boot_cmds_android' ubuntu_ deployment_ data['boot_ cmds'] = 'boot_cmds' oe_deployment_ data['boot_ cmds'] = 'boot_cmds_oe'
> Target.
> Target.
review needs-fixing
-- www.linaro. org
Antonio Terceiro
Software Engineer - Linaro
http://