Merge lp:~alsuren/lava-test/trivia into lp:lava-test/0.0

Proposed by Paul Larson
Status: Merged
Merged at revision: 81
Proposed branch: lp:~alsuren/lava-test/trivia
Merge into: lp:lava-test/0.0
Diff against target: 28 lines (+4/-4)
2 files modified
abrek/dashboard.py (+3/-3)
abrek/swprofile.py (+1/-1)
To merge this branch: bzr merge lp:~alsuren/lava-test/trivia
Reviewer Review Type Date Requested Status
Paul Larson (community) Approve
Review via email: mp+69327@code.launchpad.net

Description of the change

Some random cleanups from Collabora

To post a comment you must log in.
Revision history for this message
Paul Larson (pwlars) wrote :

+1, but I'll probably go ahead and correct the error message there to reflect the name change

review: Approve
lp:~alsuren/lava-test/trivia updated
81. By Paul Larson

Some random fixes from Collabora to prepare for inclusion of insanity
test suite

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'abrek/dashboard.py'
2--- abrek/dashboard.py 2011-04-19 16:56:13 +0000
3+++ abrek/dashboard.py 2011-07-26 17:14:50 +0000
4@@ -142,9 +142,9 @@
5 hosturl = urllib.basejoin(db_config.host, "xml-rpc/")
6 try:
7 server = xmlrpclib.Server(hosturl)
8- except IOError:
9- print "Error connecting to server, please run 'abrek " \
10- "dashboard setup [host]'"
11+ except IOError, e:
12+ print "Error connecting to server at '%s'. Error was: %s, " \
13+ "please run 'abrek dashboard setup [host]'" % (hosturl, e)
14 sys.exit(1)
15 try:
16 result = server.put(DocumentIO.dumps(bundle), result_name,
17
18=== modified file 'abrek/swprofile.py'
19--- abrek/swprofile.py 2011-04-07 05:26:43 +0000
20+++ abrek/swprofile.py 2011-07-26 17:14:50 +0000
21@@ -60,6 +60,6 @@
22 name = buildstamp.splitlines()[1]
23 except IOError:
24 if lsb_information == None:
25- lsb_information = lsb_release.get_lsb_information()
26+ lsb_information = lsb_release.get_distro_information()
27 name = lsb_information['DESCRIPTION']
28 return {"name":name}

Subscribers

People subscribed via source and target branches