[yum-cvs] yum/yum constants.py,1.7,1.8

Paul Nasrat pnasrat at linux.duke.edu
Tue Jan 31 22:54:32 UTC 2006


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv11465

Modified Files:
	constants.py 
Log Message:
Add constants for transaction sorting

Index: constants.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/constants.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- constants.py	7 Dec 2005 16:51:36 -0000	1.7
+++ constants.py	31 Jan 2006 22:54:30 -0000	1.8
@@ -35,6 +35,14 @@
 TR_DEPENDS = 5
 TR_DEPENDSON = 6
 
+# Transaction Member Sort Colors
+# Each node in a topological sort is colored
+# White nodes are unseen, black nodes are seen
+# grey nodes are in progress
+TX_WHITE = 0
+TX_GREY = 1
+TX_BLACK = 2
+
 # package object file types
 PO_FILE = 1
 PO_DIR = 2




More information about the Yum-cvs-commits mailing list