mirror of
https://github.com/munki/munki.git
synced 2026-01-06 06:29:56 -06:00
Add 'from __future__ import absolute_import' to all files to enforce Python3-style imports
This commit is contained in:
@@ -19,6 +19,7 @@ Unit tests for display.display_* functions.
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ test_isapprunning.py
|
||||
Unit tests for processes.isAppRunning.
|
||||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import, print_function
|
||||
# Copyright 2016-present Nate Walck.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -20,6 +20,7 @@ from __future__ import print_function
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
|
||||
2
code/client/tests/travisci.py
Normal file → Executable file
2
code/client/tests/travisci.py
Normal file → Executable file
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/python env
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
from __future__ import print_function
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
Reference in New Issue
Block a user