Mercurial > p > roundup > code
comparison roundup-admin @ 213:d45384bc6420
Added the copyright/license notice to (nearly) all files...
...at request of Bizar Software.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 07 Aug 2001 00:15:51 +0000 |
| parents | c1461733cbf9 |
| children | 18134bffab37 |
comparison
equal
deleted
inserted
replaced
| 212:862dafca2a72 | 213:d45384bc6420 |
|---|---|
| 1 #! /usr/bin/python | 1 #! /usr/bin/python |
| 2 # $Id: roundup-admin,v 1.13 2001-08-05 07:44:13 richard Exp $ | 2 # |
| 3 # Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) | |
| 4 # This module is free software, and you may redistribute it and/or modify | |
| 5 # under the same terms as Python, so long as this copyright message and | |
| 6 # disclaimer are retained in their original form. | |
| 7 # | |
| 8 # IN NO EVENT SHALL THE BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR | |
| 9 # DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING | |
| 10 # OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE | |
| 11 # POSSIBILITY OF SUCH DAMAGE. | |
| 12 # | |
| 13 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, | |
| 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
| 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | |
| 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | |
| 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | |
| 18 # | |
| 19 # $Id: roundup-admin,v 1.14 2001-08-07 00:15:51 richard Exp $ | |
| 3 | 20 |
| 4 import sys | 21 import sys |
| 5 if int(sys.version[0]) < 2: | 22 if int(sys.version[0]) < 2: |
| 6 print 'Roundup requires python 2.0 or later.' | 23 print 'Roundup requires python 2.0 or later.' |
| 7 sys.exit(1) | 24 sys.exit(1) |
| 403 if __name__ == '__main__': | 420 if __name__ == '__main__': |
| 404 sys.exit(main()) | 421 sys.exit(main()) |
| 405 | 422 |
| 406 # | 423 # |
| 407 # $Log: not supported by cvs2svn $ | 424 # $Log: not supported by cvs2svn $ |
| 425 # Revision 1.13 2001/08/05 07:44:13 richard | |
| 426 # Instances are now opened by a special function that generates a unique | |
| 427 # module name for the instances on import time. | |
| 428 # | |
| 408 # Revision 1.12 2001/08/03 01:28:33 richard | 429 # Revision 1.12 2001/08/03 01:28:33 richard |
| 409 # Used the much nicer load_package, pointed out by Steve Majewski. | 430 # Used the much nicer load_package, pointed out by Steve Majewski. |
| 410 # | 431 # |
| 411 # Revision 1.11 2001/08/03 00:59:34 richard | 432 # Revision 1.11 2001/08/03 00:59:34 richard |
| 412 # Instance import now imports the instance using imp.load_module so that | 433 # Instance import now imports the instance using imp.load_module so that |
