Skip to content

Commit

Permalink
gyp: move from __future__ import to the top of the file
Browse files Browse the repository at this point in the history
Fixes #1774
PR-URL: #1789
Reviewed-By: Rod Vagg <rod@vagg.org>
  • Loading branch information
cclauss authored and rvagg committed Jun 21, 2019
1 parent 4f4a677 commit f952b08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gyp/tools/pretty_sln.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
Then it outputs a possible build order.
"""

__author__ = 'nsylvain (Nicolas Sylvain)'

from __future__ import print_function

import os
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.
Expand Down
3 changes: 2 additions & 1 deletion gyp/tools/pretty_vcproj.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
It outputs the resulting xml to stdout.
"""
__author__ = 'nsylvain (Nicolas Sylvain)'

from __future__ import print_function

Expand All @@ -21,6 +20,8 @@
from xml.dom.minidom import parse
from xml.dom.minidom import Node

__author__ = 'nsylvain (Nicolas Sylvain)'

REPLACEMENTS = dict()
ARGUMENTS = None

Expand Down

0 comments on commit f952b08

Please sign in to comment.