Forum Discussion
ccna55_14039
Nimbostratus
Oct 20, 2014Python Bigsuds - Massive iRule removal - bigsuds script for massive iRule removal
I am testing this python script to be able to do a mass irule removal.
It appears there is an issue with
except Exception, e:
^
SyntaxError: invalid syntax
Here is the snip of ...
pete_71470
Cirrostratus
Oct 21, 2014It appears there is an issue with indentation. Does this snippet in your example have the same indentation as the file as it appears on your 2.7.3 system?
The parts to 'try' should be indented equally:
for
if
try:
b.LocalLB
print
except Exception, e:
print e
break
count... if that's where it belongs with your logic
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
