Skip to content

Commit

Permalink
Merge pull request #58 from SpiNNakerManchester/one_version_(range)
Browse files Browse the repository at this point in the history
One version (range)
  • Loading branch information
Christian-B committed Mar 30, 2021
2 parents 49d3c1c + 42bbb6c commit 390c15a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions spalloc/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from spalloc.scripts.support import VERSION_RANGE_START, VERSION_RANGE_STOP

""" A high-level Python interface for allocating SpiNNaker boards.
"""
Expand All @@ -32,9 +33,6 @@
# https://docs.python.org/3.1/library/logging.html#configuring-logging-for-a-library
logger.addHandler(logging.StreamHandler())

VERSION_RANGE_START = (0, 4, 0)
VERSION_RANGE_STOP = (2, 0, 0)


class Job(object):
""" A high-level interface for requesting and managing allocations of
Expand Down
4 changes: 0 additions & 4 deletions spalloc/scripts/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
DEFAULT_BOARD_EDGES)
from .support import Terminate, Script

# The acceptable range of server version numbers
VERSION_RANGE_START = (0, 1, 0)
VERSION_RANGE_STOP = (2, 0, 0)


def generate_keys(alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ"):
""" Generate ascending values in spreadsheet-column-name style.
Expand Down

0 comments on commit 390c15a

Please sign in to comment.