]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_robot_base.py
Minor refactoring: rename msg to e
[bookmarks_db.git] / Robots / bkmk_robot_base.py
index 210d092b6509603c60832cc38b40cbfdcec058cc..30a26bf137138ef40b4da218efeab4be64acc399 100644 (file)
@@ -32,13 +32,13 @@ reloc_dict = {
 }
 
 
-def get_error(msg):
-   if isinstance(msg, str):
-      return msg
+def get_error(e):
+   if isinstance(e, str):
+      return e
 
    else:
       s = []
-      for i in msg:
+      for i in e:
          s.append("'%s'" % str(i).replace('\n', "\\n"))
       return "(%s)" % ' '.join(s)