~ubuntu-branches/ubuntu/oneiric/apport/oneiric-proposed

« back to all changes in this revision

Viewing changes to data/general-hooks/ubuntu.py

  • Committer: Package Import Robot
  • Author(s): Brian Murray
  • Date: 2011-07-14 06:30:51 UTC
  • Revision ID: package-import@ubuntu.com-20110714063051-laon5vyyjqeyqh6g
Tags: 1.21.2-0ubuntu3
data/general-hooks/ubuntu.py: add in casper package version to bugs
reported from Live Media

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
 
140
140
    # if we are running from a live system, add the build timestamp
141
141
    attach_file_if_exists(report, '/cdrom/.disk/info', 'LiveMediaBuild')
 
142
    if os.path.exists('/cdrom/.disk/info'):
 
143
        report['CasperVersion'] = apport.packaging.get_version('casper')
 
144
 
142
145
 
143
146
    # https://wiki.ubuntu.com/FoundationsTeam/Specs/OemTrackingId
144
147
    attach_file_if_exists(report, '/var/lib/ubuntu_dist_channel',