Author: dmeyer
Date: Mon Oct 29 14:45:25 2007
New Revision: 2894
Log:
rename use_pynotifier to force_internal
Modified:
trunk/base/src/notifier/nf_thread.py
trunk/base/src/notifier/nf_wrapper.py
Modified: trunk/base/src/notifier/nf_thread.py
==============================================================================
--- trunk/base/src/notifier/nf_thread.py (original)
+++ trunk/base/src/notifier/nf_thread.py Mon Oct 29 14:45:25 2007
@@ -78,7 +78,7 @@
if handler == None:
handler, shutdown = get_handler(module)
loop = ThreadLoop(handler, shutdown)
- nf_wrapper.init( 'generic', use_pynotifier=False, **options )
+ nf_wrapper.init( 'generic', force_internal=True, **options )
# set main thread and init thread pipe
kaa.notifier.set_current_as_mainthread()
# adding a timer or socket is not thread safe in general but
Modified: trunk/base/src/notifier/nf_wrapper.py
==============================================================================
--- trunk/base/src/notifier/nf_wrapper.py (original)
+++ trunk/base/src/notifier/nf_wrapper.py Mon Oct 29 14:45:25 2007
@@ -138,7 +138,7 @@
return nf_socket_remove(id, nf_conditions[condition])
-def init( module = None, use_pynotifier=True, **options ):
+def init( module = None, force_internal=False, **options ):
global timer_add
global socket_add
global dispatcher_add
@@ -158,7 +158,7 @@
options['recursive_depth'] = 5
try:
- if not use_pynotifier:
+ if force_internal:
# pynotifier is not allowed
raise ImportError()
import notifier
-------------------------------------------------------------------------
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