summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-21 02:45:33 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-21 02:45:33 +0000
commitc4ac4de2264b51d182412dfb4dada548b2e05e5e (patch)
treef9d3f31a0d2495be31a0f4c3e214234ca0de9dc3
parentc86c1391904231287824676cc663d7e3eddd8954 (diff)
downloadportage-c4ac4de2264b51d182412dfb4dada548b2e05e5e.tar.gz
portage-c4ac4de2264b51d182412dfb4dada548b2e05e5e.tar.bz2
portage-c4ac4de2264b51d182412dfb4dada548b2e05e5e.zip
Remove some old debug code that should not have been committed.
svn path=/main/trunk/; revision=15124
-rw-r--r--pym/portage/cvstree.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/pym/portage/cvstree.py b/pym/portage/cvstree.py
index da8b40e15..1f352efeb 100644
--- a/pym/portage/cvstree.py
+++ b/pym/portage/cvstree.py
@@ -251,8 +251,6 @@ def getentries(mydir,recursive=0):
for file in apply_cvsignore_filter(os.listdir(mydir)):
if file=="CVS":
continue
- if file=="digest-framerd-2.4.3":
- print(mydir,file)
if os.path.isdir(mydir+"/"+file):
if file not in entries["dirs"]:
entries["dirs"][file]={"dirs":{},"files":{}}
@@ -267,39 +265,20 @@ def getentries(mydir,recursive=0):
else:
entries["dirs"][file]["status"]=["exists"]
elif os.path.isfile(mydir+"/"+file):
- if file=="digest-framerd-2.4.3":
- print("isfile")
if file not in entries["files"]:
entries["files"][file]={"revision":"","date":"","flags":"","tags":""}
if "status" in entries["files"][file]:
- if file=="digest-framerd-2.4.3":
- print("has status")
if "exists" not in entries["files"][file]["status"]:
- if file=="digest-framerd-2.4.3":
- print("no exists in status")
entries["files"][file]["status"]+=["exists"]
else:
- if file=="digest-framerd-2.4.3":
- print("no status")
entries["files"][file]["status"]=["exists"]
try:
- if file=="digest-framerd-2.4.3":
- print("stat'ing")
mystat=os.stat(mydir+"/"+file)
mytime = time.asctime(time.gmtime(long(mystat.st_mtime)))
if "status" not in entries["files"][file]:
- if file=="digest-framerd-2.4.3":
- print("status not set")
entries["files"][file]["status"]=[]
- if file=="digest-framerd-2.4.3":
- print("date:",entries["files"][file]["date"])
- print("sdate:",mytime)
if mytime==entries["files"][file]["date"]:
entries["files"][file]["status"]+=["current"]
- if file=="digest-framerd-2.4.3":
- print("stat done")
-
- del mystat
except SystemExit as e:
raise
except Exception as e: