We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f94c3f1 commit e932c7eCopy full SHA for e932c7e
split.py
@@ -2,10 +2,17 @@
2
3
border = '// ----------------------------------------------------------------------------'
4
5
+PythonVersion = sys.version_info[0];
6
+
7
with open('httplib.h') as f:
8
lines = f.readlines()
9
inImplementation = False
- os.makedirs('out', exist_ok=True)
10
11
+ if PythonVersion < 3:
12
+ os.makedirs('out')
13
+ else:
14
+ os.makedirs('out', exist_ok=True)
15
16
with open('out/httplib.h', 'w') as fh:
17
with open('out/httplib.cc', 'w') as fc:
18
fc.write('#include "httplib.h"\n')
0 commit comments