Commit 984a57a9 authored by Tim Graham's avatar Tim Graham
Browse files

Removed some commented code in the forms Media class.

parent 01b4a13d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -44,10 +44,6 @@ class Media(object):
        for name in MEDIA_TYPES:
            getattr(self, 'add_' + name)(media_attrs.get(name, None))

        # Any leftover attributes must be invalid.
        # if media_attrs != {}:
        #     raise TypeError("'class Media' has invalid attribute(s): %s" % ','.join(media_attrs.keys()))

    def __str__(self):
        return self.render()