summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-08 01:10:29 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-08 01:10:29 +0000
commit3b56aa98fef2104b458777f611a5ee4ebc551a31 (patch)
tree4dd2c5399a9345cc492d3897921d7937ebca9006
parent6d74ac591e33c8bfabe29d94c2483e327ed452f5 (diff)
downloadportage-3b56aa98fef2104b458777f611a5ee4ebc551a31.tar.gz
portage-3b56aa98fef2104b458777f611a5ee4ebc551a31.tar.bz2
portage-3b56aa98fef2104b458777f611a5ee4ebc551a31.zip
fix whitespace breakage introduced by writemsg_stdout() changes
svn path=/main/trunk/; revision=2677
-rw-r--r--pym/portage.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/pym/portage.py b/pym/portage.py
index abc48ddf2..0849841ae 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5765,45 +5765,45 @@ class dblink:
if pkgfiles[obj][0]=="dir":
if not os.path.isdir(obj):
- writemsg_stdout("--- !dir %s %s\n" % ("dir", obj))
+ writemsg_stdout("--- !dir %s %s\n" % ("dir", obj))
continue
mydirs.append(obj)
elif pkgfiles[obj][0]=="sym":
if not os.path.islink(obj):
- writemsg_stdout("--- !sym %s %s\n" % ("sym", obj))
+ writemsg_stdout("--- !sym %s %s\n" % ("sym", obj))
continue
try:
os.unlink(obj)
- writemsg_stdout("<<< %s %s\n" % ("sym",obj))
+ writemsg_stdout("<<< %s %s\n" % ("sym",obj))
except (OSError,IOError),e:
- writemsg_stdout("!!! %s %s\n" % ("sym",obj))
+ writemsg_stdout("!!! %s %s\n" % ("sym",obj))
elif pkgfiles[obj][0]=="obj":
if not os.path.isfile(obj):
- writemsg_stdout("--- !obj %s %s\n" % ("obj", obj))
+ writemsg_stdout("--- !obj %s %s\n" % ("obj", obj))
continue
mymd5=portage_checksum.perform_md5(obj, calc_prelink=1)
# string.lower is needed because db entries used to be in upper-case. The
# string.lower allows for backwards compatibility.
if mymd5 != string.lower(pkgfiles[obj][2]):
- writemsg_stdout("--- !md5 %s %s\n" % ("obj", obj))
+ writemsg_stdout("--- !md5 %s %s\n" % ("obj", obj))
continue
try:
os.unlink(obj)
except (OSError,IOError),e:
pass
- writemsg_stdout("<<< %s %s\n" % ("obj",obj))
+ writemsg_stdout("<<< %s %s\n" % ("obj",obj))
elif pkgfiles[obj][0]=="fif":
if not stat.S_ISFIFO(lstatobj[stat.ST_MODE]):
- writemsg_stdout("--- !fif %s %s\n" % ("fif", obj))
+ writemsg_stdout("--- !fif %s %s\n" % ("fif", obj))
continue
try:
os.unlink(obj)
except (OSError,IOError),e:
pass
- writemsg_stdout("<<< %s %s\n" % ("fif",obj))
+ writemsg_stdout("<<< %s %s\n" % ("fif",obj))
elif pkgfiles[obj][0]=="dev":
- writemsg_stdout("--- %s %s\n" % ("dev",obj))
+ writemsg_stdout("--- %s %s\n" % ("dev",obj))
mydirs.sort()
mydirs.reverse()
@@ -5813,7 +5813,7 @@ class dblink:
if not last_non_empty.startswith(obj) and not listdir(obj):
try:
os.rmdir(obj)
- writemsg_stdout("<<< %s %s\n" % ("dir",obj))
+ writemsg_stdout("<<< %s %s\n" % ("dir",obj))
last_non_empty = ""
continue
except (OSError,IOError),e: