summaryrefslogtreecommitdiff
path: root/examples/defconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-20 21:46:39 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-20 22:06:49 +0200
commit1c416093518c7c358096802e911c00d29a810b18 (patch)
tree35a5ce0b0e764c217a460bbf38706ae59a99304c /examples/defconfig.py
parent52c503dbb37d61013d8adb50c3929f089dfa3ffa (diff)
Make all examples Python 3-friendly.
print -> print(). Skip 'from __future__ import print_function' by only having a single argument (to avoid interpretation as tuples in Python 2). Keeps the examples simple.
Diffstat (limited to 'examples/defconfig.py')
-rw-r--r--examples/defconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/defconfig.py b/examples/defconfig.py
index 3ed09fa..3e958e2 100644
--- a/examples/defconfig.py
+++ b/examples/defconfig.py
@@ -11,7 +11,7 @@ if os.path.exists(".config"):
else:
defconfig = conf.get_defconfig_filename()
if defconfig is not None:
- print "Using " + defconfig
+ print("Using" + defconfig)
conf.load_config(defconfig)
conf.write_config(".config")