Lines 4-9
Link Here
|
4 |
|
4 |
|
5 |
from __future__ import print_function |
5 |
from __future__ import print_function |
6 |
|
6 |
|
|
|
7 |
import argparse |
7 |
import os |
8 |
import os |
8 |
import sys |
9 |
import sys |
9 |
|
10 |
|
Lines 20-25
mysettings = portage.settings
Link Here
|
20 |
mytrees = portage.db |
21 |
mytrees = portage.db |
21 |
mtimedb = portage.mtimedb |
22 |
mtimedb = portage.mtimedb |
22 |
|
23 |
|
|
|
24 |
description = """The fixpackages program performs package move updates on |
25 |
configuration files, installed packages, and binary packages.""" |
26 |
|
27 |
parser = argparse.ArgumentParser(description=description) |
28 |
parser.parse_args() |
29 |
|
23 |
if mysettings['ROOT'] != "/": |
30 |
if mysettings['ROOT'] != "/": |
24 |
out = EOutput() |
31 |
out = EOutput() |
25 |
msg = "The fixpackages program is not intended for use with " + \ |
32 |
msg = "The fixpackages program is not intended for use with " + \ |
26 |
- |
|
|