Changeset f88fcf3 in rtems-source-builder for source-builder/sb/cvs.py


Ignore:
Timestamp:
Mar 7, 2016, 12:56:02 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11
Children:
e02eaa6
Parents:
76188ee4
git-author:
Chris Johns <chrisj@…> (03/07/16 00:56:02)
git-committer:
Chris Johns <chrisj@…> (03/07/16 02:16:17)
Message:

sb: Update code base to support Python3 and Python2.

Fix Windows support to allow MSYS2 Python to be used.

Updates #2619.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/cvs.py

    r76188ee4 rf88fcf3  
    11#
    22# RTEMS Tools Project (http://www.rtems.org/)
    3 # Copyright 2010-2013 Chris Johns (chrisj@rtems.org)
     3# Copyright 2010-2016 Chris Johns (chrisj@rtems.org)
    44# All rights reserved.
    55#
     
    2121# Provide some basic access to the cvs command.
    2222#
     23
     24from __future__ import print_function
    2325
    2426import os
     
    152154        path.mkdir(ldir)
    153155        c.checkout(':pserver:anoncvs@sourceware.org:/cvs/src', module = 'newlib')
    154     print c.cvs_version()
    155     print c.valid()
    156     print c.status()
     156    print(c.cvs_version())
     157    print(c.valid())
     158    print(c.status())
    157159    c.reset()
    158     print c.clean()
     160    print(c.clean())
Note: See TracChangeset for help on using the changeset viewer.