diff options
author | Madhusudan.C.S | 2011-02-01 04:33:35 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2011-02-01 04:33:35 +0530 |
commit | a2782abefa1065c5a43c1b35f3e378ce24cbdab4 (patch) | |
tree | 6e7a2739de065b4335a69726d1c9ebca45a4ab68 | |
parent | 0b51d048feb16b431ec46c7dbf72a40375c31210 (diff) | |
download | pytask-a2782abefa1065c5a43c1b35f3e378ce24cbdab4.tar.gz pytask-a2782abefa1065c5a43c1b35f3e378ce24cbdab4.tar.bz2 pytask-a2782abefa1065c5a43c1b35f3e378ce24cbdab4.zip |
Remove unused tags1 variable.
-rwxr-xr-x | pytask/taskapp/views/utils.py | 3 |
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 |