Merge lp:~ralsina/ubuntuone-client/find_exes into lp:ubuntuone-client
| Status: | Merged |
|---|---|
| Approved by: | Alejandro J. Cura on 2012-03-19 |
| Approved revision: | 1219 |
| Merged at revision: | 1213 |
| Proposed branch: | lp:~ralsina/ubuntuone-client/find_exes |
| Merge into: | lp:ubuntuone-client |
| Diff against target: |
79 lines (+24/-1) 3 files modified
tests/syncdaemon/test_tunnel_runner.py (+10/-0) ubuntuone/platform/constants.py (+5/-0) ubuntuone/syncdaemon/tunnel_runner.py (+9/-1) |
| To merge this branch: | bzr merge lp:~ralsina/ubuntuone-client/find_exes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Alejandro J. Cura (community) | 2012-03-18 | Approve on 2012-03-19 | |
| Brian Curtin (community) | Approve on 2012-03-19 | ||
| Natalia Bidart | Approve on 2012-03-19 | ||
|
Review via email:
|
|||
Commit Message
Fix tunnel spawning code so that it works on windows.
Description of the Change
Fix tunnel spawning code so that it works on windows.
| Roberto Alsina (ralsina) wrote : | # |
> 78 - args = [TUNNEL_EXECUTABLE, host, str(port)]
> 79 + args = [host, str(port)]
>
> The above change will make this branch fail on linux.
> According to the twisted docs, "The first string should be the executable's
> name.":
> http://
> actorProcess.
>
> Did you need this change in order to make it work on Windows?
No, I don't know where that came from. Reverted.
- 1216. By Roberto Alsina on 2012-03-19
-
style fix
- 1217. By Roberto Alsina on 2012-03-19
-
cleanup frozen on test
| Natalia Bidart (nataliabidart) wrote : | # |
* Can you please revert the unrelated change in ubuntuone/
* Typo in "surces".
* Since you already have changes to make, could you please add a space after the # in "#Only"?
Thanks!
- 1218. By Roberto Alsina on 2012-03-19
-
fixes suggested by nessita
| Roberto Alsina (ralsina) wrote : | # |
> * Can you please revert the unrelated change in
> ubuntuone/
>
> * Typo in "surces".
>
> * Since you already have changes to make, could you please add a space after
> the # in "#Only"?
>
> Thanks!
All 3 done in revo 1218
| Brian Curtin (brian.curtin) wrote : | # |
39 + TUNNEL_EXECUTABLE = "ubuntuone-
It'd be safer to do ```TUNNEL_
- 1219. By Roberto Alsina on 2012-03-19
-
brian curtin's suggestion
| Roberto Alsina (ralsina) wrote : | # |
> 39 + TUNNEL_EXECUTABLE = "ubuntuone-
>
> It'd be safer to do ```TUNNEL_
you are right, changed


78 - args = [TUNNEL_EXECUTABLE, host, str(port)]
79 + args = [host, str(port)]
The above change will make this branch fail on linux. twistedmatrix. com/documents/ current/ api/twisted. internet. interfaces. IReactorProcess .spawnProcess. html
According to the twisted docs, "The first string should be the executable's name.":
http://
Did you need this change in order to make it work on Windows?