Looks good, but cast the return to bool() as it is the intent of the c function.
On Sunday, September 5, 2010, Dave Andreoli wrote:
> Hi pythonist,
> here a small patch to make Elementary.Layout.file_set() return the
> correct value (1 on succes, 0 on errors).
>
> Do you think this is the right w
Hi pythonist,
here a small patch to make Elementary.Layout.file_set() return the
correct value (1 on succes, 0 on errors).
Do you think this is the right way to go ? (many other place in
python-elementary needs the same)
or maybe we should rise an exception?
thanks
DaveMDS
http://pastebin.com/G