From: Zac Medico Date: Thu, 24 Dec 2009 04:00:56 +0000 (-0000) Subject: Remove some old debug code that should not have been committed. (trunk r15124) X-Git-Tag: v2.1.7.16~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9bc6adcbcf90186447aa2eba8415dbb501dc040f;p=portage.git Remove some old debug code that should not have been committed. (trunk r15124) svn path=/main/branches/2.1.7/; revision=15136 --- 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: