From 8c95ab08f0c60b07a1caec14fccb28f5e40670e3 Mon Sep 17 00:00:00 2001
From: Kalle-Samuli Riihikoski <haikalle@gmail.com>
Date: Thu, 1 Sep 2011 19:29:41 +0000
Subject: [PATCH] return ('FINISHED') -> return {'FINISHED'}

---
 io_coat3D/__init__.py |  4 ++--
 io_coat3D/coat.py     | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py
index 9a787a026..9def1480b 100644
--- a/io_coat3D/__init__.py
+++ b/io_coat3D/__init__.py
@@ -20,8 +20,8 @@ bl_info = {
     "name": "3D-Coat Applink",
     "author": "Kalle-Samuli Riihikoski (haikalle)",
     "version": (3, 5, 20),
-    "blender": (2, 5, 8),
-    "api": 35622,
+    "blender": (2, 5, 9),
+    "api": 39685,
     "location": "Scene > 3D-Coat Applink",
     "description": "Transfer data between 3D-Coat/Blender",
     "warning": "",
diff --git a/io_coat3D/coat.py b/io_coat3D/coat.py
index 07b30cef3..4fb91d569 100644
--- a/io_coat3D/coat.py
+++ b/io_coat3D/coat.py
@@ -263,7 +263,7 @@ class SCENE_OT_export(bpy.types.Operator):
                 file.close()
             coa.objectdir = checkname
 
-        return('FINISHED')
+        return {'FINISHED'}
 
 
 class SCENE_OT_import(bpy.types.Operator):
@@ -383,7 +383,7 @@ class SCENE_OT_import(bpy.types.Operator):
             act_name.select = True
         bpy.context.scene.objects.active = act_first
 
-        return('FINISHED')
+        return {'FINISHED'}
 
 class SCENE_OT_import3b(bpy.types.Operator):
     bl_idname = "import3b_applink.pilgway_3d_coat"
@@ -458,7 +458,7 @@ class SCENE_OT_import3b(bpy.types.Operator):
         tex.gettex(mat_list, new_obj, scene,export)
 
 
-        return('FINISHED')
+        return {'FINISHED'}
 
 class SCENE_OT_load3b(bpy.types.Operator):
     bl_idname = "import_applink.pilgway_3d_coat_3b"
@@ -484,7 +484,7 @@ class SCENE_OT_load3b(bpy.types.Operator):
             file.close()
 
 
-        return('FINISHED')
+        return {'FINISHED'}
 
 class SCENE_OT_deltex(bpy.types.Operator):
     bl_idname = "import_applink.pilgway_3d_deltex"  # XXX, name?
@@ -512,7 +512,7 @@ class SCENE_OT_deltex(bpy.types.Operator):
                         del_osoite = osoite + i
                         os.remove(del_osoite)
     
-        return('FINISHED')
+        return {'FINISHED'}
 
 
 from bpy import *
-- 
GitLab