~daisy-pluckers/oops-repository/trunk

« back to all changes in this revision

Viewing changes to oopsrepository/oopses.py

  • Committer: Brian Murray
  • Date: 2020-10-08 13:21:37 UTC
  • Revision ID: brian@canonical.com-20201008132137-t7u50uhytgmhnihz
replace any single quotes in apport report keys

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
        try:
150
150
            session.execute(SimpleStatement
151
151
                ("INSERT INTO \"%s\" (key, column1, value) VALUES (%s, '%s', '%s')"
152
 
                 % ('OOPS', hex_oopsid, key, cql_value)))
 
152
                 % ('OOPS', hex_oopsid, cql_key, cql_value)))
153
153
        except InvalidRequestException:
154
154
            continue
155
155
    automated_testing = False