This is a work in progress script that does a good job testing the api delete() calls on a loaded satellite. I had temporarily thrown "if True:" in there so I could 'disable' sections that were hitting buggy delete() calls. I intend to make the script a bit more robust and have paramters to select what to delete, such as '--channels', '--users', or '--all'. Basically I intend to replace 'if True:' with something more like 'if deleteUsers:', deleteUsers being a variable set based upon passed in arguments.
-Justin Jesus M. Rodriguez wrote: > Justin, > > What's up with the "if True:"? > > http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=a6040267c89d0510e18d7302872eedc809209d19 > > jesus > > _______________________________________________ > Spacewalk-devel mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-devel > _______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
