~ubuntu-branches/ubuntu/natty/computer-janitor/natty

« back to all changes in this revision

Viewing changes to computer-janitor

  • Committer: Bazaar Package Importer
  • Author(s): Lars Wirzenius
  • Date: 2009-02-19 09:37:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090219093752-4e3rkcoatpr4x2u8
Tags: 1.12-0ubuntu1
* New upstream release.
* Upstream source has partially been moved to update-manager. This
  has resulted in some packaging changes.
* debian/control: Add dependency on update-manager-core for 
  computer-janitor, on the version of update-manager-core that includes
  the computer-janitor core code (plugin management, plugins).

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import logging
20
20
import os
21
21
import sys
 
22
import traceback
22
23
 
23
24
import computerjanitor
 
25
import computerjanitorapp
24
26
 
25
27
 
26
28
try:
27
 
    app = computerjanitor.Application()
28
 
    app.run(computerjanitor.CommandLineUserInterface)
 
29
    app = computerjanitorapp.Application()
 
30
    app.run(computerjanitorapp.CommandLineUserInterface)
29
31
except computerjanitor.Exception, e:
 
32
    logging.debug(unicode(traceback.format_exc()))
30
33
    logging.error(unicode(e))
31
34
    sys.exit(1)