Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove TBAVideo model entirely

  • Loading branch information...
commit 589bc2f92a8f8da56afbe043c1b1b20c609ac218 1 parent e9b0662
@gregmarra authored
View
2  controllers/datafeed_controller.py
@@ -18,7 +18,7 @@
from helpers.team_helper import TeamTpidHelper, TeamUpdater
from helpers.opr_helper import OprHelper
-from models import Event, EventTeam, Match, TBAVideo, Team
+from models import Event, EventTeam, Match, Team
class TbaVideosGet(webapp.RequestHandler):
View
3  helpers/tbavideo_helper.py
@@ -3,6 +3,9 @@
from google.appengine.ext import db
class TBAVideoHelper(object):
+ """
+ Same interface as the retired TBAVideo class.
+ """
TBA_NET_VID_PATTERN = "http://videos.thebluealliance.com/%s/%s.%s"
THUMBNAIL_FILETYPES = ["jpg", "jpeg"]
View
16 models.py
@@ -232,19 +232,3 @@ def has_video(self):
def details_url(self):
return "/match/%s" % self.get_key_name()
-
-
-# TODO: Remove this class -gregmarra 31 Mar 2012
-# Can remove once flushed these from dev server
-class TBAVideo(db.Model):
- """
- Store information related to videos of Matches hosted on
- videos.thebluealliance.net. Generally, there should only be one
- TBAVideo per match
-
- THIS CLASS IS DEPRECATED. -gregmarra 31 Mar 2012
- """
-
- match = db.ReferenceProperty(Match, required=True)
- filetypes = db.StringListProperty() # ["mp4", "flv", "wmv"] etc
-
Please sign in to comment.
Something went wrong with that request. Please try again.