releng r923 - in trunk/tools: . schedule
- From: ovitters svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: releng r923 - in trunk/tools: . schedule
 
- Date: Mon,  7 Jan 2008 21:50:54 +0000 (GMT)
 
Author: ovitters
Date: Mon Jan  7 21:50:54 2008
New Revision: 923
URL: http://svn.gnome.org/viewvc/releng?rev=923&view=rev
Log:
	* schedule/libschedule.py: Sort tarball/release stuff before all other
	events. Don't understand why it was the other way around.
Modified:
   trunk/tools/ChangeLog
   trunk/tools/schedule/automail.py
   trunk/tools/schedule/libschedule.py
Modified: trunk/tools/schedule/automail.py
==============================================================================
--- trunk/tools/schedule/automail.py	(original)
+++ trunk/tools/schedule/automail.py	Mon Jan  7 21:50:54 2008
@@ -60,6 +60,7 @@
 
 events_to_email = []
 for event in events:
+    print event
     if event.date == today_plus3:
         events_to_email.append(event)
 
Modified: trunk/tools/schedule/libschedule.py
==============================================================================
--- trunk/tools/schedule/libschedule.py	(original)
+++ trunk/tools/schedule/libschedule.py	Mon Jan  7 21:50:54 2008
@@ -164,7 +164,7 @@
             return -1
         if self.date > other.date:
             return 1
-        return - (self.category_index - other.category_index)
+        return self.category_index - other.category_index
 
 def find_date (year, week):
     guessed = datetime.date (year, week / 4, 1)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]