Cleanup image common processor
authorRodney Ewing <ewing.rj@gmail.com>
Wed, 14 Aug 2013 17:41:16 +0000 (10:41 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Fri, 16 Aug 2013 22:30:21 +0000 (15:30 -0700)
mediagoblin/media_types/image/processing.py

index c3dfc5fedfc4f622064f45e860f049ef76d01889..3b3c2b0fb8cb1a5b5ba4b04daf4fe17053881313 100644 (file)
@@ -131,21 +131,6 @@ class CommonImageProcessor(MediaProcessor):
     """
     Provides a base for various media processing steps
     """
-    # Common resizing step
-    def resize_step(self):
-        pass
-
-    @classmethod
-    def _add_width_height_args(cls, parser):
-        parser.add_argument(
-            "--width", default=None,
-            help=(
-                "Width of the resized image (if not using defaults)"))
-        parser.add_argument(
-            "--height", default=None,
-            help=(
-                "Height of the resized image (if not using defaults)"))
-
     def common_setup(self):
         """
         Set up the workbench directory and pull down the original file