Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from oii.ldr import Resolver
- RESOLVER="""
- <rule name="main">
- <path var="conf_file" match="/etc/*/*.conf"/>
- </rule>
- """
- # load the resolver from the text block.
- # you can also pass a filename to Resolver
- R = Resolver(RESOLVER)
- # this is how to invoke the rule "main"
- for solution in R.main():
- print solution
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement