aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/processing
diff options
context:
space:
mode:
authorvijeth-aradhya <vijthaaa@gmail.com>2017-06-17 00:53:39 +0530
committervijeth-aradhya <vijthaaa@gmail.com>2017-06-17 00:53:39 +0530
commit33d5ac6c4de44aa8d98a8cf759c79351f5a59885 (patch)
treebd739a2ec6ded3c078b133ffb8728dfaf2f3d20f /mediagoblin/processing
parent5b91098ca7084d4d420302eacf795d8d142429f9 (diff)
downloadmediagoblin-33d5ac6c4de44aa8d98a8cf759c79351f5a59885.tar.lz
mediagoblin-33d5ac6c4de44aa8d98a8cf759c79351f5a59885.tar.xz
mediagoblin-33d5ac6c4de44aa8d98a8cf759c79351f5a59885.zip
Simple hack to handle main workflow problem
Remove redundunt workflow methods from the other media type's processing.py. Fixes #1
Diffstat (limited to 'mediagoblin/processing')
-rw-r--r--mediagoblin/processing/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/mediagoblin/processing/__init__.py b/mediagoblin/processing/__init__.py
index 98031bbc..7d407a36 100644
--- a/mediagoblin/processing/__init__.py
+++ b/mediagoblin/processing/__init__.py
@@ -257,12 +257,11 @@ class ProcessingManager(object):
return processor
- def workflow(self, entry_id, feed_url, reprocess_action, reprocess_info=None):
+ def workflow(self, entry, feed_url, reprocess_action, reprocess_info=None):
"""
Returns the Celery command needed to proceed with media processing
- *This method has to be implemented in all media types*
"""
- raise NotImplementedError
+ return None
def request_from_args(args, which_args):