~jocave/checkbox/hybrid-amd-gpu-mods

« back to all changes in this revision

Viewing changes to checkbox-ng/checkbox_ng/launchpad.py

  • Committer: Sylvain Pineau
  • Date: 2014-07-29 16:05:54 UTC
  • mto: This revision was merged to the branch mainline in revision 3149.
  • Revision ID: sylvain.pineau@canonical.com-20140729160554-qev8887xbunn9tmi
checkbox-ng:launchers:checkbox-cli: The checkbox-cli launcher

Running the default whitelist (with the suite selection screen skipped)

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
            ?
134
134
        :returns:
135
135
            A dictionary with responses from the server if submission was
136
 
            successful and empty dictionary otherwise.
 
136
            successful.
137
137
        :raises ValueError:
138
138
            If no session state was provided.
139
139
        :raises TransportError:
199
199
                    'OK data stored')):
200
200
                status = response.headers['x-launchpad-hwdb-submission']
201
201
            return {'status': status}
202
 
 
203
 
        # ISessionStateTransport.send must return dictionary
 
202
        # XXX: can response be None?
204
203
        return {}