def doMaintenance()

in crashes.py [0:0]


def doMaintenance(dbFilename):
  exit()
  # load up our database of processed crash ids
  reports, stats = loadReports(dbFilename)

  for hash in reports:
    signature = reports[hash]['signature']
    clientcount = reports[hash]['clientcount']

    operatingSystem = reports[hash]['operatingsystem']
    del reports[hash]['operatingsystem']
    reports[hash]['operatingsystem'] = [operatingSystem]

    operatingSystemVer = reports[hash]['osversion']
    del reports[hash]['osversion']
    reports[hash]['osversion'] = [operatingSystemVer]

    firefoxVer = reports[hash]['firefoxver']
    del reports[hash]['firefoxver']
    reports[hash]['firefoxver'] = [firefoxVer]

    arch = reports[hash]['arch']
    del reports[hash]['arch']
    reports[hash]['arch'] = [arch]