Merge lp:~statik/desktopcouch/fix-bookmark into lp:desktopcouch

Proposed by Elliot Murphy
Status: Merged
Approved by: Eric Casteleijn
Approved revision: 47
Merged at revision: not available
Proposed branch: lp:~statik/desktopcouch/fix-bookmark
Merge into: lp:desktopcouch
Diff against target: None lines
To merge this branch: bzr merge lp:~statik/desktopcouch/fix-bookmark
Reviewer Review Type Date Requested Status
Eric Casteleijn (community) Approve
Review via email: mp+10677@code.launchpad.net

Commit message

Fixes a problem with writing the bookmark file (data type needs to be str instead of int).

To post a comment you must log in.
Revision history for this message
Elliot Murphy (statik) wrote :

Fixes a problem with writing the bookmark file (data type needs to be str instead of int).

Revision history for this message
Eric Casteleijn (thisfred) wrote :

+1000

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'desktopcouch/start_local_couchdb.py'
2--- desktopcouch/start_local_couchdb.py 2009-08-25 16:03:09 +0000
3+++ desktopcouch/start_local_couchdb.py 2009-08-25 18:05:09 +0000
4@@ -243,7 +243,7 @@
5 pass
6 else:
7 fp = open(bookmark_file, "w")
8- out = html.replace("[[COUCHDB_PORT]]", port)
9+ out = html.replace("[[COUCHDB_PORT]]", str(port))
10 out = out.replace("[[COUCHDB_USERNAME]]", username)
11 out = out.replace("[[COUCHDB_PASSWORD]]", password)
12 fp.write(out)

Subscribers

People subscribed via source and target branches