[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fle3-dev] property 'name' of the user is not standard
From: |
Fabrizio Reale |
Subject: |
[Fle3-dev] property 'name' of the user is not standard |
Date: |
30 Aug 2003 14:02:05 +0200 |
Hello *,
in the function get_author_name in the file WebtopItem.py you use the
attribute name of the user which is not standard and it is not
implemented by all the User Folders.
Can you change it?
I solved with this trick, but it's better to find another way:
if hasattr(owner,'name'):
return owner.name
else:
return str(owner)
See you.
Fabry
- [Fle3-dev] property 'name' of the user is not standard,
Fabrizio Reale <=