[umbrello-devel] [umbrello] [Bug 328055] New: Python import broken when using multi line comments
Ralf Habacker
ralf.habacker at freenet.de
Mon Nov 25 12:04:32 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=328055
Bug ID: 328055
Summary: Python import broken when using multi line comments
Classification: Unclassified
Product: umbrello
Version: 2.11.0 (4.11.0)
Platform: unspecified
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: umbrello-devel at kde.org
Reporter: ralf.habacker at freenet.de
Importing the a python file containing the following class definitions with
multi line comments let umbrello only create the class, not the methods:
class test(object):
""" class doc line 1
class doc line2 """
def function(a,b,c):
""" method function line 1
method function line 2
"""
return a
def function2(a,b,c):
""" method function2 line 1
method function2 line 2
"""
return b
Reproducible: Always
Steps to Reproduce:
1. open umbrello
2. import the attached python file
Actual Results:
Only the class from the test case is created, the methods not
Expected Results:
The methods should be created inside the class they belong to
found bug in 4.11.0, may be introduced earlier
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list