Selaa lähdekoodia

status: import print_function

This module uses print() so make sure we import the print function.
It doesn't really impact the current code due to the simple way it
is calling print, but we should be sane to avoid future issues.

Change-Id: I0b15344678c1dcb71207faa333c239b3fced1d62
Mike Frysinger 6 vuotta sitten
vanhempi
commit
9e71842fbf
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      subcmds/status.py

+ 2 - 0
subcmds/status.py

@@ -14,6 +14,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+from __future__ import print_function
+
 from command import PagedCommand
 
 try: