I tried exactly that......

[EMAIL PROTECTED] ~]$ zendmd < fixlayer3.py
Welcome to zenoss dmd command shell!
use zhelp() to list commands
>>> ... >>>   File "<stdin>", line 1
    try:
    ^
SyntaxError: invalid syntax
>>>   File "<stdin>", line 1
    bah = i.getObject()
    ^
SyntaxError: invalid syntax
>>>   File "<stdin>", line 1
    except Exception:
    ^
SyntaxError: invalid syntax
>>>   File "<stdin>", line 1
    print "Removing non-existent device from layer3_catalog: " + i.getPath()
    ^
SyntaxError: invalid syntax
>>>   File "<stdin>", line 1
    dmd.ZenLinkManager.layer3_catalog.uncatalog_object(i.getPath())
    ^
SyntaxError: invalid syntax
>>> >>> ... >>>




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=24013#24013

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to