This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys, lxml.etree as et | |
def purge_plugin( tree, id ): | |
print ':: Searching for %s Entries..' % id | |
targets = tree.findall( '//ReportItem[@pluginID="%s"]' % id ) | |
print ' Found %s entries.' % len( targets ) | |
print ':: Excising %s entries..' % id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getch_unix( ): | |
old_settings = termios.tcgetattr( sys.stdin ) | |
try: | |
tty.setraw( sys.stdin ) | |
ch = sys.stdin.read( 1 ) | |
finally: | |
termios.tcsetattr( sys.stdin, termios.TCSADRAIN, old_settings) | |
return ch | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::: Misc ::: | |
Coat of Arms | |
Darksteel Colossus | |
Gargoyle Castle | |
Gorgon Flail | |
Howling Mine | |
Magebane Armor | |
Mirror of Fate | |
Pithing Needle |
NewerOlder