gyp: move from __future__ import to the top of the file

Fixes #1774
PR-URL: https://github.com/nodejs/node-gyp/pull/1789
Reviewed-By: Rod Vagg <rod@vagg.org>
This commit is contained in:
cclauss 2019-06-20 12:58:32 +02:00 committed by Rod Vagg
parent 4f4a677dfa
commit f952b08f84
No known key found for this signature in database
GPG key ID: C273792F7D83545D
2 changed files with 4 additions and 3 deletions

View file

@ -12,8 +12,6 @@
Then it outputs a possible build order.
"""
__author__ = 'nsylvain (Nicolas Sylvain)'
from __future__ import print_function
import os
@ -21,6 +19,8 @@ import re
import sys
import pretty_vcproj
__author__ = 'nsylvain (Nicolas Sylvain)'
def BuildProject(project, built, projects, deps):
# if all dependencies are done, we can build it, otherwise we try to build the
# dependency.

View file

@ -11,7 +11,6 @@
It outputs the resulting xml to stdout.
"""
__author__ = 'nsylvain (Nicolas Sylvain)'
from __future__ import print_function
@ -21,6 +20,8 @@ import sys
from xml.dom.minidom import parse
from xml.dom.minidom import Node
__author__ = 'nsylvain (Nicolas Sylvain)'
REPLACEMENTS = dict()
ARGUMENTS = None