r6205 - flumotion/branches/wizard-pluggable-http-consumers/flumotion/worker

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Wed Feb 13 11:15:36 CET 2008


Author: jdahlin
Date: Wed Feb 13 11:15:35 2008
New Revision: 6205

Log:
Get the filenames from all entries when figuring out which bundles should be sent

Modified:
   flumotion/branches/wizard-pluggable-http-consumers/flumotion/worker/worker.py

Modified: flumotion/branches/wizard-pluggable-http-consumers/flumotion/worker/worker.py
==============================================================================
--- flumotion/branches/wizard-pluggable-http-consumers/flumotion/worker/worker.py	(original)
+++ flumotion/branches/wizard-pluggable-http-consumers/flumotion/worker/worker.py	Wed Feb 13 11:15:35 2008
@@ -251,7 +251,8 @@
             moduleNames = [moduleName]
             for plugs in conf.get('plugs', {}).values():
                 for plug in plugs:
-                    moduleNames.append(plug['module-name'])
+                    for entry in plug.get('entries', {}).values():
+                        moduleNames.append(entry['module-name'])
             self.debug('setting up bundles for %r', moduleNames)
             return self.medium.bundleLoader.getBundles(moduleName=moduleNames)
 


More information about the flumotion-commit mailing list