diff -r 1a388aaa269a -r ec43c445d1b3 PluginToolGenerateHash.py --- a/PluginToolGenerateHash.py Sat Dec 31 13:51:16 2016 +0100 +++ b/PluginToolGenerateHash.py Thu Mar 30 19:22:04 2017 +0200 @@ -23,7 +23,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "2.1.1" +version = "2.1.2" className = "ToolGenerateHashPlugin" packageName = "ToolGenerateHash" shortDescription = "Generate a hash for a selectable file or directory" @@ -349,9 +349,12 @@ indString = editor.indentationWidth() * ' ' indent = (indLevel + 1) * indString code = ["["] - for name, hash in hashes: + for name, hashStr in hashes: code.append("{0}({1}'{2}', '{3}'),".format( - indent, prefix, name, hash)) + indent, prefix, name, hashStr)) code.append("{0}]".format(indLevel * indString)) self.__insertHash(os.linesep.join(code)) + +# +# eflag: noqa = M801