Skip to content

Commit f952b08

Browse files
cclaussrvagg
authored andcommitted
gyp: move from __future__ import to the top of the file
Fixes #1774 PR-URL: #1789 Reviewed-By: Rod Vagg <[email protected]>
1 parent 4f4a677 commit f952b08

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: gyp/tools/pretty_sln.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
Then it outputs a possible build order.
1313
"""
1414

15-
__author__ = 'nsylvain (Nicolas Sylvain)'
16-
1715
from __future__ import print_function
1816

1917
import os
2018
import re
2119
import sys
2220
import pretty_vcproj
2321

22+
__author__ = 'nsylvain (Nicolas Sylvain)'
23+
2424
def BuildProject(project, built, projects, deps):
2525
# if all dependencies are done, we can build it, otherwise we try to build the
2626
# dependency.

Diff for: gyp/tools/pretty_vcproj.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
1212
It outputs the resulting xml to stdout.
1313
"""
14-
__author__ = 'nsylvain (Nicolas Sylvain)'
1514

1615
from __future__ import print_function
1716

@@ -21,6 +20,8 @@
2120
from xml.dom.minidom import parse
2221
from xml.dom.minidom import Node
2322

23+
__author__ = 'nsylvain (Nicolas Sylvain)'
24+
2425
REPLACEMENTS = dict()
2526
ARGUMENTS = None
2627

0 commit comments

Comments
 (0)