Skip to content

Commit b1abc01

Browse files
authored
chore: remove Python 2 print function support (#197)
* chore: remove Python 2 print function support * style: run black against examples directory
1 parent 22b3547 commit b1abc01

33 files changed

+10
-38
lines changed

examples/blocks_list.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Retrieve list of blocked items
44
"""
5-
from __future__ import print_function
65

76
import pyslurm
87

examples/blocks_list2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Retrieve list of blocked items
44
"""
5-
from __future__ import print_function
65

76
from time import sleep
87

examples/cancel_job.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Cancel a scheduled job
44
"""
5-
from __future__ import print_function
65

76
import pyslurm
87

examples/checkpoint_job.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Retrieve a jobs checkpoint status
44
"""
5-
from __future__ import print_function
65

76
import pyslurm
87

examples/controllers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Retrieve list up Slurm controllers
44
"""
5-
from __future__ import print_function
65

76
import socket
87

examples/debug_levels.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
How to set Slurm debug level
44
"""
5-
from __future__ import print_function
65

76
import pyslurm
87

examples/hostlist.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Retrieve Slurm hosts
44
"""
5-
from __future__ import print_function
65

76
import pyslurm
87

examples/job_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Class to access/modify Slurm Job Information.
44
"""
5-
from __future__ import print_function
65

76
import pyslurm
87

examples/jobs_list.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
List Slurm jobs
44
"""
5-
from __future__ import print_function
65

76
import pyslurm
87

examples/jobsteps_layout.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Display Slurm jobsteps
44
"""
5-
from __future__ import print_function
65

76
import pyslurm
87

0 commit comments

Comments
 (0)