main.py (4850:434e8d79de49) | main.py (5346:5e0130aed888) |
---|---|
1# Copyright (c) 2005 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 28 unchanged lines hidden (view full) --- 37import defines 38import traceflags 39 40__all__ = [ 'options', 'arguments', 'main' ] 41 42usage="%prog [m5 options] script.py [script options]" 43version="%prog 2.0" 44brief_copyright=''' | 1# Copyright (c) 2005 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 28 unchanged lines hidden (view full) --- 37import defines 38import traceflags 39 40__all__ = [ 'options', 'arguments', 'main' ] 41 42usage="%prog [m5 options] script.py [script options]" 43version="%prog 2.0" 44brief_copyright=''' |
45Copyright (c) 2001-2006 | 45Copyright (c) 2001-2008 |
46The Regents of The University of Michigan 47All Rights Reserved 48''' 49 50def print_list(items, indent=4): 51 line = ' ' * indent 52 for i,item in enumerate(items): 53 if len(line) + len(item) > 76: --- 313 unchanged lines hidden --- | 46The Regents of The University of Michigan 47All Rights Reserved 48''' 49 50def print_list(items, indent=4): 51 line = ' ' * indent 52 for i,item in enumerate(items): 53 if len(line) + len(item) > 76: --- 313 unchanged lines hidden --- |