Skip to content

Instantly share code, notes, and snippets.

@mbrenig
Created September 11, 2013 18:14
Show Gist options
  • Save mbrenig/6527543 to your computer and use it in GitHub Desktop.
Save mbrenig/6527543 to your computer and use it in GitHub Desktop.
Snippet to force MLHG_HUNT_ON_NA to FALSE on all Taqua BGs. (Not recommended - please SFR).
def cust_specific_process():
for bgline in taqua_glob.bg_line_entries_list:
# Try to get mlhg lineinfo objects
mlhgs = []
try:
bg = bgline.parent_bg
mlhgs = bg.lineinfo[si.BG_MLHGS]
except:
pass
for mlhg in mlhgs:
mlhg[si.MLHG_HUNT_ON_NA] = si.FALSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment