]> git.openstreetmap.org Git - osqa.git/commitdiff
Removes unused variable.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 13 Jun 2011 13:05:21 +0000 (13:05 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 13 Jun 2011 13:05:21 +0000 (13:05 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1066 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/templatetags/extra_tags.py

index 6e5d6e64abc87c79b7f96a4efb89770354f80de6..1c6c6bcea444af35b3d8b0fe152f88465f583383 100644 (file)
@@ -136,7 +136,6 @@ def diff_date(date, limen=2):
 
     now = datetime.datetime.now()
     diff = now - date
-    years = diff.years
     days = diff.days
     hours = int(diff.seconds/3600)
     minutes = int(diff.seconds/60)