Author: duncan
Date: Thu Nov 1 15:16:11 2007
New Revision: 10055
Log:
Too hasty with the last checkin...
Modified:
branches/rel-1/freevo/src/tv/v4l2.py
Modified: branches/rel-1/freevo/src/tv/v4l2.py
==============================================================================
--- branches/rel-1/freevo/src/tv/v4l2.py (original)
+++ branches/rel-1/freevo/src/tv/v4l2.py Thu Nov 1 15:16:11 2007
@@ -707,7 +707,8 @@
"""
get the control record by name
"""
- if not self.controls.has_key(self.ctrlname(name)):
+ key = self.ctrlname(name)
+ if not self.controls.has_key(key):
_debug_('control \"%s\" does not exists' % (name), DWARNING)
return None
(id, type, name, min, max, step, default, flags, value) =
self.controls[key]
@@ -718,7 +719,8 @@
"""
get the control record by name
"""
- if not self.controls.has_key(self.ctrlname(name)):
+ key = self.ctrlname(name)
+ if not self.controls.has_key(key):
_debug_('control \"%s\" does not exists' % (name), DWARNING)
return None
(id, type, name, min, max, step, default, flags, oldvalue) =
self.controls[key]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog