How can I set the "Description" parameter of a layer with Python?

Discussion created by mgfasel on Apr 18, 2011
Latest reply on Nov 28, 2011 by froberts
Hello, I need to make a package of layers in a Python script. The "PackageLayer" tool required that the layers have a description in order to run, but the layers I have to pack are created and saved on disk just before the packaging. Thus, I can't set a description manually. There is a way to set it directly in Python? (or to avoid it as I don't need any description)

Thanks for your help