-
-
Save jhaubrich/1525100 to your computer and use it in GitHub Desktop.
Revisions
-
jhaubrich revised this gist
Dec 27, 2011 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ HA! You've been forked! !/usr/bin/env python import pdb -
bjcubsfan created this gist
Dec 27, 2011 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ !/usr/bin/env python import pdb expected_rngs = range(0,10) file_list = [0, 1, 2, 3, 4, 5, 6, 8, 9] for antenna in expected_rngs[:]: print "*********************************************************************" print "CHECKING", antenna for rng in file_list: print "checking", rng if rng == antenna: expected_rngs.remove(antenna) print "removing", antenna break print "*********************************************************************" print "*********************************************************************" print expected_rngs