~brunonova/software-properties/lp1381050

« back to all changes in this revision

Viewing changes to softwareproperties/cloudarchive.py

  • Committer: Michael Vogt
  • Date: 2014-09-24 09:50:37 UTC
  • Revision ID: michael.vogt@ubuntu.com-20140924095037-pnzzdtv4sao5dzij
If adding a PPA from a foreign distribution, use that distribution's
current series as the codename.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    def info(self):
95
95
        return self._info
96
96
 
97
 
    def expand(self, codename):
 
97
    def expand(self, codename, distro=None):
98
98
        if codename not in (MAP[self.caname]['release'],
99
99
                            os.environ.get("CA_ALLOW_CODENAME")):
100
100
            raise ShortcutException(