[Python-projects] pyreverse pb.

Emile Anclin emile.anclin at logilab.fr
Tue Jun 30 12:03:26 CEST 2009


On Friday 12 June 2009 18:04:01 Lionel Barret De Nazaris wrote:
> Hello all,
>
hello,

> I have trouble to get pyreverse doing what I want.
>
> I use the following line :
>
> $ pyreverse -c RotatePositionningPolicy -a1 -s1 -f ALL -o png
> rotate_positionning_policy.py

> I would expect  a class diagram of the RotatePositionningPolicy (-c
> option) with one ancestor (-a1 -s1) on the png output (-o png)
>
> The pb is that I get the diagram without the ancestor.

Ok, I think it is a bug.
Strange though. I just tested some situations where it worked,
and some not.

I put a ticket on it:
https://www.logilab.net/elo/ticket/9542

> I suspect this is because the ancestor is in another file
> (positionning_policy.py in the same dir).
No, in general, pyreverse knows how to handle big projects with packages; 
this shouldn't be the problem.

> Did  I miss something ?

No, thank you for your interest and the bug report.

> P.S : french allowed ? ...

Well, this I don't know ;)

-- 

Emile Anclin <emile.anclin at logilab.fr>
http://www.logilab.fr/   http://www.logilab.org/ 
Informatique scientifique & et gestion de connaissances


More information about the Python-Projects mailing list