mirror of
https://github.com/munki/munki.git
synced 2026-01-06 06:29:56 -06:00
Convert all print statements to Python3-compatible print functions
This commit is contained in:
@@ -6,6 +6,7 @@ test_isapprunning.py
|
||||
Unit tests for processes.isAppRunning.
|
||||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
# Copyright 2016-present Nate Walck.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -30,7 +31,7 @@ try:
|
||||
from mock import patch
|
||||
except ImportError:
|
||||
import sys
|
||||
print >>sys.stderr, "mock module is required. run: easy_install mock"
|
||||
print("mock module is required. run: easy_install mock", file=sys.stderr)
|
||||
raise
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/python env
|
||||
|
||||
from __future__ import print_function
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
Reference in New Issue
Block a user