Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. from oii.ldr import Resolver
  2.  
  3. RESOLVER="""
  4. <rule name="main">
  5. <path var="conf_file" match="/etc/*/*.conf"/>
  6. </rule>
  7. """
  8.  
  9. # load the resolver from the text block.
  10. # you can also pass a filename to Resolver
  11. R = Resolver(RESOLVER)
  12.  
  13. # this is how to invoke the rule "main"
  14. for solution in R.main():
  15. print solution
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement