Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1:/tmp/cvs-serv15299/src/tv

Modified Files:
        v4l2.py 
Log Message:
Make sure channel is a string.


Index: v4l2.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/v4l2.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** v4l2.py     8 Oct 2003 03:29:22 -0000       1.12
--- v4l2.py     11 Oct 2003 15:09:41 -0000      1.13
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.13  2003/10/11 15:09:41  rshortt
+ # Make sure channel is a string.
+ #
  # Revision 1.12  2003/10/08 03:29:22  outlyer
  # Just move all FutureWarnings to config. This removes all the silly hex
***************
*** 153,157 ****
      def __init__(self, device):
          self.chanlist = None
-         self.chanlistName = ""
          self.device = os.open (device, os.O_TRUNC)
          if self.device < 0:
--- 156,159 ----
***************
*** 173,177 ****
  
      def setchanlist(self, chanlist):
-         self.chanlistName = chanlist
          self.chanlist = freq.CHANLIST[chanlist]
  
--- 175,178 ----
***************
*** 191,195 ****
                        (channel, freq)
          else:
!             freq = self.chanlist[channel]
              if DEBUG: 
                  print 'USING STANDARD FREQUENCY: chan="%s", freq="%s"' % \
--- 192,196 ----
                        (channel, freq)
          else:
!             freq = self.chanlist[str(channel)]
              if DEBUG: 
                  print 'USING STANDARD FREQUENCY: chan="%s", freq="%s"' % \




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to