When importing a python file which contains classes without any functions, umbrello ignores those classes. Reproducible: Always Steps to Reproduce: 1. open umbrello 2. import appended python file Actual Results: Only classes having methods or class member definitions are imported Expected Results: All classes should be imported
Created attachment 83753 [details] test case
Git commit 779a898aa79a9bac3de1b2cbb7f5a1cfa48bc45e by Ralf Habacker. Committed on 25/11/2013 at 14:57. Pushed by habacker into branch 'KDE/4.11'. Fix bug not importing python classes without methods or members. FIXED-IN:4.11.4 M +6 -0 umbrello/codeimport/pythonimport.cpp http://commits.kde.org/umbrello/779a898aa79a9bac3de1b2cbb7f5a1cfa48bc45e
Git commit 852789786aad0e1cf50885ca8454effb79264c32 by Ralf Habacker. Committed on 25/11/2013 at 14:57. Pushed by habacker into branch 'KDE/4.12'. Fix bug not importing python classes without methods or members. FIXED-IN:4.11.4 (cherry picked from commit 779a898aa79a9bac3de1b2cbb7f5a1cfa48bc45e) M +6 -0 umbrello/codeimport/pythonimport.cpp http://commits.kde.org/umbrello/852789786aad0e1cf50885ca8454effb79264c32
Git commit 3f59a392e5b66c573c39d1c834be8e308ef5127b by Ralf Habacker. Committed on 25/11/2013 at 14:57. Pushed by habacker into branch 'master'. Fix bug not importing python classes without methods or members. FIXED-IN:4.11.4 (cherry picked from commit 779a898aa79a9bac3de1b2cbb7f5a1cfa48bc45e) M +6 -0 umbrello/codeimport/pythonimport.cpp http://commits.kde.org/umbrello/3f59a392e5b66c573c39d1c834be8e308ef5127b