wingo - in flumotion/trunk: . flumotion/common
flumotion-commit at lists.fluendo.com
flumotion-commit at lists.fluendo.com
Wed Jul 4 12:40:45 CEST 2007
Author: wingo
Date: Wed Jul 4 12:40:41 2007
New Revision: 5297
Modified:
flumotion/trunk/ChangeLog
flumotion/trunk/flumotion/common/bundle.py
Log:
2007-07-04 Andy Wingo <wingo at pobox.com>
* flumotion/common/bundle.py (BundlerBasket.getDependencies):
Handle case where bundle has no dependencies. Fixes #665, finally.
Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog (original)
+++ flumotion/trunk/ChangeLog Wed Jul 4 12:40:41 2007
@@ -1,4 +1,10 @@
+2007-07-04 Andy Wingo <wingo at pobox.com>
+
+ * flumotion/common/bundle.py (BundlerBasket.getDependencies):
+ Handle case where bundle has no dependencies. Fixes #665, finally.
+
2007-07-04 Michael Smith <msmith at fluendo.com>
+
* flumotion/component/producers/playlist/playlist.py:
Return item if we successfully scheduled it.
* flumotion/component/producers/playlist/playlistparser.py:
Modified: flumotion/trunk/flumotion/common/bundle.py
==============================================================================
--- flumotion/trunk/flumotion/common/bundle.py (original)
+++ flumotion/trunk/flumotion/common/bundle.py Wed Jul 4 12:40:41 2007
@@ -307,7 +307,10 @@
"""
if not bundlerName in self._bundlers:
raise errors.NoBundleError('Unknown bundle %s' % bundlerName)
- return [bundlerName,] + self._graph.getOffspring(bundlerName)
+ elif not self._graph.hasNode(bundlerName):
+ return [bundlerName]
+ else:
+ return [bundlerName] + self._graph.getOffspring(bundlerName)
def getBundlerByName(self, bundlerName):
"""
More information about the flumotion-commit
mailing list