Changeset masterdriverz%2Fpkgcore-dev,2279
- Timestamp:
- 07/18/08 10:05:37 (6 weeks ago)
- Author:
- masterdriverz <masterdriverz@…>
- Message:
-
pylint fixes
- Location:
- masterdriverz/pkgcore-dev/pkgcore
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r2261
|
r2279
|
|
| 35 | 35 | 'target packages/sets; defaults to -s world -s system if no targets' |
| 36 | 36 | ' are specified. Use with *caution*, this option used incorrectly ' |
| 37 | | 'can render your system unusable. Implies --deep'), |
| | 37 | 'can render your system unusable. Implies --deep') |
| 38 | 38 | self.add_option('--upgrade', '-u', action='store_true', |
| 39 | 39 | help='try to upgrade already installed packages/dependencies') |
| … |
… |
|
| 67 | 67 | default=False, |
| 68 | 68 | help="whether or not to process build depends for pkgs that " |
| 69 | | "are already built; defaults to ignoring them"), |
| | 69 | "are already built; defaults to ignoring them") |
| 70 | 70 | self.add_option('--nodeps', action='store_true', |
| 71 | 71 | help='disable dependency resolution') |
| … |
… |
|
| 311 | 311 | return checkatom |
| 312 | 312 | |
| 313 | | found_slots = () |
| 314 | | pkgs = repos.itermatch(checkatom, sorter=sorted) |
| 315 | | for pkg in pkgs: |
| 316 | | found_slots.update(pkg.slot[0]) |
| | 313 | found_slots = set(repos.itermatch(checkatom, sorter=sorted)) |
| 317 | 314 | |
| 318 | 315 | if len(found_slots) == 1: |
-
|
r2260
|
r2279
|
|
| 2 | 2 | # License: GPL2/BSD |
| 3 | 3 | |
| 4 | | from pkgcore.test import TestCase, Todo, malleable_obj |
| | 4 | from pkgcore.test import TestCase, malleable_obj |
| 5 | 5 | from snakeoil.mappings import OrderedDict |
| 6 | 6 | from snakeoil.currying import post_curry |
| … |
… |
|
| 11 | 11 | from pkgcore.package.mutated import MutatedPkg |
| 12 | 12 | from pkgcore.repository.util import SimpleTree |
| 13 | | from pkgcore.repository import wrapper |
| 14 | 13 | |
| 15 | 14 | |