diff options
-rw-r--r-- | pym/portage/cvstree.py | 21 |
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: |