~vorlon/python-apt/lp.1069019

« back to all changes in this revision

Viewing changes to apt/package.py

  • Committer: Michael Vogt
  • Date: 2013-04-30 17:01:20 UTC
  • Revision ID: michael.vogt@ubuntu.com-20130430170120-nlaxqujeh1umbr1p
cherry pick -r555 from debian-experimental

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
        component - The component (eg. main)
138
138
        label     - The Label, as set in the Release file
139
139
        origin    - The Origin, as set in the Release file
 
140
        codename  - The Codename, as set in the Release file
140
141
        site      - The hostname of the site.
141
142
        trusted   - Boolean value whether this is trustworthy.
142
143
    """
146
147
        self.component = packagefile.component
147
148
        self.label = packagefile.label
148
149
        self.origin = packagefile.origin
 
150
        self.codename = packagefile.codename
149
151
        self.site = packagefile.site
150
152
        self.not_automatic = packagefile.not_automatic
151
153
        # check the trust