diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-08-11 15:22:43 -0500 |
---|---|---|
committer | Rodney Ewing <ewing.rj@gmail.com> | 2013-08-16 15:30:16 -0700 |
commit | 55cfa3406390732173195bb920bf3f86bd1ce9f4 (patch) | |
tree | 7837cb056a57fe927c2c98ad0528948ad288c6af /mediagoblin/gmg_commands/reprocess.py | |
parent | a59f92f3eca79b8070c2142a2be0ee5a48fe4611 (diff) | |
download | mediagoblin-55cfa3406390732173195bb920bf3f86bd1ce9f4.tar.lz mediagoblin-55cfa3406390732173195bb920bf3f86bd1ce9f4.tar.xz mediagoblin-55cfa3406390732173195bb920bf3f86bd1ce9f4.zip |
Renaming the processing manager stuff to be less ambiguous.
BONUS COMMIT to Ben Finney and the Free Software Melbourne crew. :)
IRONY: Initially I committed this as "media manager".
Diffstat (limited to 'mediagoblin/gmg_commands/reprocess.py')
-rw-r--r-- | mediagoblin/gmg_commands/reprocess.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mediagoblin/gmg_commands/reprocess.py b/mediagoblin/gmg_commands/reprocess.py index 9a9196bb..10ab50ab 100644 --- a/mediagoblin/gmg_commands/reprocess.py +++ b/mediagoblin/gmg_commands/reprocess.py @@ -24,7 +24,7 @@ from mediagoblin.tools.translate import lazy_pass_to_ugettext as _ from mediagoblin.tools.pluginapi import hook_handle from mediagoblin.processing import ( ProcessorDoesNotExist, ProcessorNotEligible, - get_entry_and_manager, get_manager_for_type) + get_entry_and_processing_manager, get_processing_manager_for_type) def reprocess_parser_setup(subparser): @@ -211,12 +211,12 @@ def _set_media_state(args): def available(args): # Get the media type, either by looking up media id, or by specific type try: - media_entry, manager = get_entry_and_manager(args.id_or_type) + media_entry, manager = get_entry_and_processing_manager(args.id_or_type) media_type = media_entry.type except ValueError: media_type = args.id_or_type media_entry = None - manager = get_manager_for_type(media_type) + manager = get_processing_manager_for_type(media_type) if media_entry is None: processors = manager.list_all_processors() @@ -245,7 +245,7 @@ def available(args): def run(args): - media_entry, manager = get_entry_and_manager(args.media_id) + media_entry, manager = get_entry_and_processing_manager(args.media_id) # TODO: (maybe?) This could probably be handled entirely by the # processor class... |