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

Modified Files:
        v4l2.py 
Log Message:
Filter out annoying warnings in Python >= 2.3


Index: v4l2.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/v4l2.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** v4l2.py     25 Sep 2003 03:00:45 -0000      1.10
--- v4l2.py     8 Oct 2003 03:14:17 -0000       1.11
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.11  2003/10/08 03:14:17  outlyer
+ # Filter out annoying warnings in Python >= 2.3
+ #
  # Revision 1.10  2003/09/25 03:00:45  outlyer
  # Rollback...
***************
*** 50,55 ****
  import struct
  import fcntl
! # import warnings
! # warnings.filterwarnings("ignore", category=FutureWarning, module=__name__)
  
  
--- 53,61 ----
  import struct
  import fcntl
! import sys
! 
! if float(sys.version[0:3]) >= 2.3:
!     import warnings
!     warnings.filterwarnings("ignore", category=FutureWarning, module=__name__)
  
  




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to