summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-02-27 10:18:46 -0600
committerDavid Lehman <dlehman@redhat.com>2009-02-27 10:18:46 -0600
commit77e052201c1aa258def5fdde5c9b8745b79611f2 (patch)
treeebcdf7465fc944b97bd0b008a82cef0cb1d998ba /packages.py
parentaddec40bb65f80a7f38166c5c87561d362b31fc9 (diff)
downloadanaconda-77e052201c1aa258def5fdde5c9b8745b79611f2.tar.gz
anaconda-77e052201c1aa258def5fdde5c9b8745b79611f2.tar.xz
anaconda-77e052201c1aa258def5fdde5c9b8745b79611f2.zip
Lots of minor fixes and cleanups. A non-exhaustive list follows.
- Change minsize/maxsize to minSize/maxSize since that's the convention elsewhere throughout the code. - Redirect output from all external utilities to tty5, not /dev/null. - Don't waste calls to basename for debug log statements, especially when the device can be None. - Add lots of missing imports. - Fix lots of remnants of previous code usage.
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages.py b/packages.py
index 99ae83fc9..5e51c8135 100644
--- a/packages.py
+++ b/packages.py
@@ -31,14 +31,13 @@ import time
import sys
import string
import language
-import fsset
-import lvm
import shutil
import traceback
from flags import flags
from product import *
from constants import *
from upgrade import bindMountDevDirectory
+from storage.errors import *
import logging
log = logging.getLogger("anaconda")
@@ -80,7 +79,7 @@ def copyAnacondaLogs(anaconda):
log.info("Copying anaconda logs")
for (fn, dest) in (("/tmp/anaconda.log", "anaconda.log"),
("/tmp/syslog", "anaconda.syslog"),
- ("/tmp/X.log", "anaconda.xlog")):
+ ("/tmp/X.log", "anaconda.xlog", "/tmp/storage.log")):
if os.access(fn, os.R_OK):
try:
shutil.copyfile(fn, "%s/var/log/%s" %(anaconda.rootPath, dest))