[Uml-devel] [Bug 75454] python code generation with purely virtual methods

cmg at uab.edu cmg at uab.edu
Fri Feb 20 06:39:01 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=75454      
cmg uab edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |



------- Additional Comments From cmg uab edu  2004-02-20 15:11 -------
Sorry, I did a bad reproduction of the test case.  

1) Settings > Configure > Code Generation > Formatting 
   Disable Write documentation if empty, write comments for sections even if    section is empty:

2) Generate All Code:
#!/usr/bin/env python
[...]
class new_class:


cmg zinc:~/tmp/uml% python New_class.py
  File "New_class.py", line 36

Python 2.3

If I include the docstring, it is indeed valid as the class will contain 1 statement.




More information about the umbrello-devel mailing list