summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2008-02-24 07:52:33 +0000
committerAlec Warner <antarus@gentoo.org>2008-02-24 07:52:33 +0000
commitdee6481652b0fb91fdbb49cafd5bb69d06b5216e (patch)
treef8ddb11ee04128f37bdac67f06013cee0dba6b14 /bin
parent71d65bd86281706c2b80024533508ea3aff00d5c (diff)
downloadportage-dee6481652b0fb91fdbb49cafd5bb69d06b5216e.tar.gz
portage-dee6481652b0fb91fdbb49cafd5bb69d06b5216e.tar.bz2
portage-dee6481652b0fb91fdbb49cafd5bb69d06b5216e.zip
Various repoman fixes, plus a weird lockfile tracekback in news.
svn path=/main/trunk/; revision=9377
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman
index 0ca127dcb..febaa0002 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -9,6 +9,7 @@
import commands
import codecs
+import commands
import errno
import formatter
import logging
@@ -21,7 +22,6 @@ import sys
import tempfile
import time
-from commands import getstatusoutput
from itertools import izip
from stat import S_ISDIR, ST_CTIME
@@ -984,7 +984,7 @@ for x in scanlist:
if xmllint_capable:
# xmlint can produce garbage output even on success, so only dump
# the ouput when it fails.
- st, out = getstatusoutput(
+ st, out = commands.getstatusoutput(
"xmllint --nonet --noout --dtdvalid '%s' '%s'" % \
(metadata_dtd, os.path.join(checkdir, "metadata.xml")))
if st != os.EX_OK:
@@ -1594,7 +1594,7 @@ else:
for myfile in myupdates:
if myfile in bin_blobs:
continue
- myout=getstatusoutput("egrep -q "+headerstring+" "+myfile)
+ myout = commands.getstatusoutput("egrep -q "+headerstring+" "+myfile)
if myout[0]==0:
myheaders.append(myfile)