Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4125/src

Modified Files:
        config.py 
Log Message:
Attempt to sort channels properly (numericly, if possible).


Index: config.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/config.py,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -d -r1.105 -r1.106
*** config.py   12 Apr 2004 14:58:38 -0000      1.105
--- config.py   9 Jun 2004 17:08:45 -0000       1.106
***************
*** 23,26 ****
--- 23,29 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.106  2004/06/09 17:08:45  rshortt
+ # Attempt to sort channels properly (numericly, if possible).
+ #
  # Revision 1.105  2004/04/12 14:58:38  dischi
  # prevent crash for bad TV.xml
***************
*** 827,830 ****
--- 830,836 ----
              chanlist += [(id,display_name,tunerid)]
  
+         f = lambda a, b: cmp(int(a[2]), int(b[2]))
+         chanlist.sort(f)
+ 
          try:
              if os.path.isfile(pname):



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to