~chipaca/unity-lens-video/custom-user-agent

« back to all changes in this revision

Viewing changes to main/models.py

  • Committer: Janos Gyerik
  • Date: 2011-08-05 16:54:48 UTC
  • Revision ID: janos@axiom-20110805165448-myu80hxibqirzb2v
added OneLiner.__unicode__

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    def lines(self):
39
39
        return [x for x in self.line.split('\n') if x.strip() != '']
40
40
 
 
41
    def __unicode__(self):
 
42
        return self.line
 
43
 
41
44
 
42
45
# eof