~brian-murray/ubuntu/natty/apport/rr-if-idontknow

« back to all changes in this revision

Viewing changes to test/java

  • Committer: Martin Pitt
  • Date: 2011-02-04 14:41:46 UTC
  • mfrom: (1369.34.52 trunk)
  • Revision ID: martin.pitt@canonical.com-20110204144146-o0fq0kh4shzsutr3
new upstream release 1.17.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
    subprocess.check_call(['java', '-version'], stdout=subprocess.PIPE,
78
78
            stderr=subprocess.PIPE)
79
79
except OSError:
80
 
    print >> sys.stderr, 'Java not available, skipping'
 
80
    apport.warning('Java not available, skipping')
81
81
    sys.exit(0)
82
82
 
83
83
tl = unittest.TestLoader()