Merge lp:~cloudysky/anonplus/quickfix into lp:anonplus

Proposed by Cloudy Sky
Status: Merged
Approved by: aj00200
Approved revision: 245
Merged at revision: 245
Proposed branch: lp:~cloudysky/anonplus/quickfix
Merge into: lp:anonplus
Diff against target: 16 lines (+3/-3)
1 file modified
src/libs/__init__.py (+3/-3)
To merge this branch: bzr merge lp:~cloudysky/anonplus/quickfix
Reviewer Review Type Date Requested Status
aj00200 Approve
Review via email: mp+112883@code.launchpad.net

Description of the change

I fixed a bug I caught with the unit tests.

To post a comment you must log in.
lp:~cloudysky/anonplus/quickfix updated
245. By Cloudy Sky

keys.json was going to the wrong place

Revision history for this message
aj00200 (aj00200) wrote :

Everything is ok here. Thanks for the fix.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/libs/__init__.py'
2--- src/libs/__init__.py 2012-04-24 22:25:18 +0000
3+++ src/libs/__init__.py 2012-06-30 19:48:18 +0000
4@@ -31,9 +31,9 @@
5 with open(self.path, 'r') as config_file:
6 values = json.loads(config_file.read())
7 except IOError:
8- vomundir = os.path.expanduser('~')
9- self['vomundir'] = os.path.join(vomundir, '.vomun')
10- self['keyfile'] = os.path.expanduser(vomundir, 'keys.json')
11+ homedir = os.path.expanduser('~')
12+ self['vomundir'] = os.path.join(homedir, '.vomun')
13+ self['keyfile'] = os.path.join(self['vomundir'], 'keys.json')
14 self['nodekey'] = ''
15 self.save()
16 else:

Subscribers

People subscribed via source and target branches

to all changes: