~canonical-ca-hackers/ubuntu-webcatalog/962141-multiple-screenshots-for-all-apps

« back to all changes in this revision

Viewing changes to src/webcatalog/management/commands/import_for_purchase_apps.py

  • Committer: Tarmac
  • Author(s): Łukasz Czyżykowski
  • Date: 2012-03-20 15:14:32 UTC
  • mfrom: (78.2.15 938226-multiple-screenshots)
  • Revision ID: tarmac@199959-20120320151432-lwejno0rflyexsjp
[r=elachuni],[bug=938226] Add multiple screenthots support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
            app.distroseries = distroseries
77
77
            app.for_purchase = True
78
78
            app.save()
 
79
            form.save_screenshot_urls()
79
80
            app.update_departments()
80
81
            self.add_icon_to_app(app, data=icon_data)
81
82
            self.output(u"{0} created.\n".format(app.name).encode('utf-8'), 1)