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
=== modified file 'abrek/dashboard.py'
--- abrek/dashboard.py 2011-04-19 16:56:13 +0000
+++ abrek/dashboard.py 2011-07-26 17:14:50 +0000
@@ -142,9 +142,9 @@
142 hosturl = urllib.basejoin(db_config.host, "xml-rpc/")142 hosturl = urllib.basejoin(db_config.host, "xml-rpc/")
143 try:143 try:
144 server = xmlrpclib.Server(hosturl)144 server = xmlrpclib.Server(hosturl)
145 except IOError:145 except IOError, e:
146 print "Error connecting to server, please run 'abrek " \146 print "Error connecting to server at '%s'. Error was: %s, " \
147 "dashboard setup [host]'"147 "please run 'abrek dashboard setup [host]'" % (hosturl, e)
148 sys.exit(1)148 sys.exit(1)
149 try:149 try:
150 result = server.put(DocumentIO.dumps(bundle), result_name,150 result = server.put(DocumentIO.dumps(bundle), result_name,
151151
=== modified file 'abrek/swprofile.py'
--- abrek/swprofile.py 2011-04-07 05:26:43 +0000
+++ abrek/swprofile.py 2011-07-26 17:14:50 +0000
@@ -60,6 +60,6 @@
60 name = buildstamp.splitlines()[1]60 name = buildstamp.splitlines()[1]
61 except IOError:61 except IOError:
62 if lsb_information == None:62 if lsb_information == None:
63 lsb_information = lsb_release.get_lsb_information()63 lsb_information = lsb_release.get_distro_information()
64 name = lsb_information['DESCRIPTION']64 name = lsb_information['DESCRIPTION']
65 return {"name":name}65 return {"name":name}

Subscribers

People subscribed via source and target branches