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
60acda0b
Commit
60acda0b
authored
Jul 27, 2017
by
guoci
Committed by
GitHub
Jul 27, 2017
Browse files
make script version agnostic
parent
09e241fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/MakeHeader.py
View file @
60acda0b
...
...
@@ -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