summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhusudan.C.S2011-02-01 04:33:35 +0530
committerMadhusudan.C.S2011-02-01 04:33:35 +0530
commita2782abefa1065c5a43c1b35f3e378ce24cbdab4 (patch)
tree6e7a2739de065b4335a69726d1c9ebca45a4ab68
parent0b51d048feb16b431ec46c7dbf72a40375c31210 (diff)
downloadpytask-a2782abefa1065c5a43c1b35f3e378ce24cbdab4.tar.gz
pytask-a2782abefa1065c5a43c1b35f3e378ce24cbdab4.tar.bz2
pytask-a2782abefa1065c5a43c1b35f3e378ce24cbdab4.zip
Remove unused tags1 variable.
-rwxr-xr-xpytask/taskapp/views/utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pytask/taskapp/views/utils.py b/pytask/taskapp/views/utils.py
index a890991..bb93049 100755
--- a/pytask/taskapp/views/utils.py
+++ b/pytask/taskapp/views/utils.py
@@ -13,7 +13,6 @@ def get_intial_tags_for_chapter(textbook):
textbook: textbook entity for which the tags should be built.
"""
- tags1=textbook.tags_field
tags = textbook.tags_field.split(',')
rebuild_tags = []
for tag in tags:
@@ -23,4 +22,4 @@ def get_intial_tags_for_chapter(textbook):
initial_tags = ', '.join(rebuild_tags + ['Chapter'])
- return initial_tags \ No newline at end of file
+ return initial_tags