~mmcg069/software-center/star-tweaks

« back to all changes in this revision

Viewing changes to softwarecenter/view/appdetailsview.py

  • Committer: Matthew McGowan
  • Date: 2011-04-02 00:09:53 UTC
  • mfrom: (1556.1.65 trunk)
  • Revision ID: matthew.joseph.mcgowan@gmail.com-20110402000953-uxeempz22lurkmms
merge w trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
    def buy_app(self):
149
149
        """ initiate the purchase transaction """
150
150
        lang = get_default_language()
151
 
        url = self.distro.PURCHASE_APP_URL % (lang, urllib.urlencode({
 
151
        distro = self.distro.get_codename()
 
152
        url = self.distro.PURCHASE_APP_URL % (lang, distro, urllib.urlencode({
152
153
                    'archive_id' : self.appdetails.ppaname, 
153
154
                    'arch' : get_current_arch() ,
154
155
                    }))