projects
/
grml-x.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Explicitly use python2.6 [Closes: issue946]
[grml-x.git]
/
grml-x
diff --git
a/grml-x
b/grml-x
index
024b41f
..
270f8b6
100755
(executable)
--- a/
grml-x
+++ b/
grml-x
@@
-1,4
+1,4
@@
-#!/usr/bin/
env python
+#!/usr/bin/
python2.6
# -*- coding: utf-8 -*-
# vim: set et ts=4:
# -*- coding: utf-8 -*-
# vim: set et ts=4:
@@
-9,6
+9,8
@@
# License: This file is licensed under the GPL v2.
###############################################################################
# License: This file is licensed under the GPL v2.
###############################################################################
+# Requires python 2.6 or, possibly, a newer version of python 2.X.
+
import fileinput, os, subprocess, sys, tempfile, time, traceback
from optparse import OptionParser
import fileinput, os, subprocess, sys, tempfile, time, traceback
from optparse import OptionParser
@@
-72,7
+74,7
@@
def build_bootparams():
params = {}
for p in ' '.join(lines).split(' '):
if '=' in p:
params = {}
for p in ' '.join(lines).split(' '):
if '=' in p:
- (k,v) = p.split('=',
2
)
+ (k,v) = p.split('=',
1
)
params[k] = v
else:
params[p] = True
params[k] = v
else:
params[p] = True