Ignore:
Timestamp:
04/11/18 13:57:42 (6 years ago)
Author:
martijk
Message:

python3 compatible print #26732

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/logpbs.py

    r110 r356  
    1515   #
    1616   if pbs.log_open('', '.'):
    17      print 'Could not open log file'
     17     print('Could not open log file')
    1818     sys.exit(1)
    1919
     
    2727   #
    2828   if pbs.log_open('', '/var/spool/torque/sched_logs'):
    29      print 'Could not open log file in /var/spool/torque/sched_logs'
     29     print('Could not open log file in /var/spool/torque/sched_logs')
    3030     sys.exit(1)
    3131
Note: See TracChangeset for help on using the changeset viewer.