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
=== modified file 'src/libs/__init__.py'
--- src/libs/__init__.py 2012-04-24 22:25:18 +0000
+++ src/libs/__init__.py 2012-06-30 19:48:18 +0000
@@ -31,9 +31,9 @@
31 with open(self.path, 'r') as config_file:31 with open(self.path, 'r') as config_file:
32 values = json.loads(config_file.read())32 values = json.loads(config_file.read())
33 except IOError:33 except IOError:
34 vomundir = os.path.expanduser('~')34 homedir = os.path.expanduser('~')
35 self['vomundir'] = os.path.join(vomundir, '.vomun')35 self['vomundir'] = os.path.join(homedir, '.vomun')
36 self['keyfile'] = os.path.expanduser(vomundir, 'keys.json')36 self['keyfile'] = os.path.join(self['vomundir'], 'keys.json')
37 self['nodekey'] = ''37 self['nodekey'] = ''
38 self.save()38 self.save()
39 else:39 else:

Subscribers

People subscribed via source and target branches

to all changes: