[gedit-latex] Fix typo in the call to the uuid module, and keep as unicode to avoid errors with non-ASCII characte



commit cc543bc1365afbbdee7d0df47d404a59090c6de4
Author: Pietro Battiston <me pietrobattiston it>
Date:   Mon May 28 17:58:35 2012 +0200

    Fix typo in the call to the uuid module, and keep as unicode to avoid errors with non-ASCII characters: fix point 3 of bug #676812

 latex/preferences/tools.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/latex/preferences/tools.py b/latex/preferences/tools.py
index 558ccd3..4c583f6 100644
--- a/latex/preferences/tools.py
+++ b/latex/preferences/tools.py
@@ -128,7 +128,7 @@ class ToolPreferences(GObject.GObject):
             # create new tool tag
             LOG.debug("Creating new Tool...")
 
-            id = str(uuit.uuid4())
+            id = unicode(uuid.uuid4())
             self.__tool_ids[tool] = id
 
             tool_element = ElementTree.SubElement(self.__tools, "tool")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]