From 3316d6696e4dfb189a243154b560963f1b562421 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 2 Oct 2011 21:36:48 +0200 Subject: [PATCH] cleanup --- pandora/clip/models.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pandora/clip/models.py b/pandora/clip/models.py index aec284afb..0fa796cd8 100644 --- a/pandora/clip/models.py +++ b/pandora/clip/models.py @@ -5,8 +5,6 @@ from __future__ import division, with_statement from django.db import models from django.conf import settings -import ox - from archive import extract import managers @@ -50,9 +48,6 @@ class Clip(models.Model): self.update_calculated_values() super(Clip, self).save(*args, **kwargs) - def set_public_id(self): - self.public_id = u"%s/%s-%s" %(self.item.itemId, self.start, self.end) - def json(self, keys=None): j = {} for field in ('id', 'in', 'out', 'created', 'modified',