~ubuntu-branches/ubuntu/wily/prewikka/wily

« back to all changes in this revision

Viewing changes to prewikka/views/sensor.py

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-07-08 08:33:50 UTC
  • mfrom: (1.1.9 upstream) (8.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090708083350-zqmdq1l666lsv366
Tags: 0.9.17-1ubuntu1
* Merge from debian unstable, Ubuntu remaining changes:
  - debian/rules: Append --install-layout=deb to setup.py install arguments.
  - debian/control: Bump python-all-dev, python-central, debhelper build
    dependencies (as per New Policy).

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
        analyzerid = self.parameters["analyzerid"]
223
223
 
224
224
        analyzer = self.env.idmef_db.getAnalyzer(analyzerid)
225
 
        analyzer["last_heartbeat_time"] = str(analyzer["last_heartbeat_time"])
 
225
        analyzer["last_heartbeat_time"] = unicode(analyzer["last_heartbeat_time"])
226
226
        analyzer["events"] = [ ]
227
227
        analyzer["status"] = "abnormal_offline"
228
228
        analyzer["status_meaning"] = "abnormal offline"