Wed, 08 Mar 2017 19:32:19 +0100
Bug fixes
--- a/ChangeLog Sat Dec 31 13:50:51 2016 +0100 +++ b/ChangeLog Wed Mar 08 19:32:19 2017 +0100 @@ -1,5 +1,8 @@ ChangeLog --------- +Version 2.0.2: +- bug fixes + Version 2.0.1: - bug fixes
--- a/PluginProjectDjangoTagsMenu.py Sat Dec 31 13:50:51 2016 +0100 +++ b/PluginProjectDjangoTagsMenu.py Wed Mar 08 19:32:19 2017 +0100 @@ -23,7 +23,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "2.0.1" +version = "2.0.2" className = "ProjectDjangoTagsMenuPlugin" packageName = "ProjectDjangoTagsMenu" shortDescription = "Tags menu for Django projects."
--- a/ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py Sat Dec 31 13:50:51 2016 +0100 +++ b/ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py Wed Mar 08 19:32:19 2017 +0100 @@ -1356,7 +1356,7 @@ templateText = '{{# {0} #}}'.format(selectedText) replace = True elif tag == "multilinecommentselect": - templateText = '{{% comment %}} {0} {{% endcomment }}'.format( + templateText = '{{% comment %}} {0} {{% endcomment %}}'.format( selectedText) replace = True elif tag == "singlelinecommentdialog": @@ -1373,13 +1373,13 @@ None, self.tr("Multi Line Comment"), self.tr("Enter comment:"), "") if ok: - templateText = '{{% comment %}} {0} {{% endcomment }}'.format( + templateText = '{{% comment %}} {0} {{% endcomment %}}'.format( comment) elif tag == "singlelinecommentclipboard": templateText = '{{# {0} #}}'.format( QApplication.clipboard().text().strip()) elif tag == "multilinecommentclipboard": - templateText = '{{% comment %}} {0} {{% endcomment }}'.format( + templateText = '{{% comment %}} {0} {{% endcomment %}}'.format( QApplication.clipboard().text().strip()) elif tag == "multilinecommentfile": filename = E5FileDialog.getOpenFileName( @@ -1393,7 +1393,7 @@ comment = f.read() f.close() templateText = ( - '{{% comment %}} {0} {{% endcomment }}'.format( + '{{% comment %}} {0} {{% endcomment %}}'.format( comment)) except (IOError, OSError) as err: E5MessageBox.critical(