Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
4300a195
Commit
4300a195
authored
Jul 28, 2017
by
Hisham Muhammad
Committed by
GitHub
Jul 28, 2017
Browse files
Merge pull request #659 from guoci/patch-1
make script version agnostic
parents
09e241fb
60acda0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/MakeHeader.py
View file @
4300a195
...
...
@@ -2,8 +2,11 @@
import
os
,
sys
,
string
try
:
from
cStringIO
import
StringIO
except
:
from
StringIO
import
StringIO
except
ImportError
:
try
:
from
StringIO
import
StringIO
except
ImportError
:
from
io
import
StringIO
ANY
=
1
COPY
=
2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment