Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Create build dir if not already there (e.g. fresh download)

  • Loading branch information...
commit 985b3c7f9a97c508cf087e13e8aafd34e6a0056b 1 parent 3c9de15
@peterjc peterjc authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  do2to3.py
View
2  do2to3.py
@@ -162,6 +162,8 @@ def main(python2_source, python3_source,
#may differ slightly.
print("The 2to3 library will be called automatically now,")
print("and the converted files cached under %s" % python3_source)
+ if not os.path.isdir("build"):
+ os.mkdir("build")
if not os.path.isdir(python3_source):
os.mkdir(python3_source)
for child in children:
Please sign in to comment.
Something went wrong with that request. Please try again.