Remove some old debug code that should not have been committed. (trunk r15124)
authorZac Medico <zmedico@gentoo.org>
Thu, 24 Dec 2009 04:00:56 +0000 (04:00 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 24 Dec 2009 04:00:56 +0000 (04:00 -0000)
svn path=/main/branches/2.1.7/; revision=15136

pym/portage/cvstree.py

index da8b40e15242c67417d17fc2455214fe3c90b46a..1f352efebb10246345ba8de39b42c506bb72753b 100644 (file)
@@ -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: