about summary refs log tree commit diff
path: root/examples/python/gi/add_connection.py
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-01-20 16:26:51 +0100
committerMichael Biebl <biebl@debian.org>2016-01-20 16:26:51 +0100
commit494f296a3baab08522617b24b1f126d8f9a17502 (patch)
treec8ef32fb0dd1c4ff35a0b38e787abb58692de0cd /examples/python/gi/add_connection.py
parent54f6333410ffd570e62717d9e77c5c987175e397 (diff)
Imported Upstream version 1.1.90 upstream/1.1.90
Diffstat (limited to 'examples/python/gi/add_connection.py')
-rwxr-xr-xexamples/python/gi/add_connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/gi/add_connection.py b/examples/python/gi/add_connection.py
index 492d66d1..cfb40a9a 100755
--- a/examples/python/gi/add_connection.py
+++ b/examples/python/gi/add_connection.py
@@ -71,7 +71,7 @@ def added_cb(client, result, data):
         client.add_connection_finish(result)
         print("The connection profile has been succesfully added to NetworkManager.")
     except Exception, e:
-        print("Error: %s" % e)
+        sys.stderr.write("Error: %s\n" % e)
     main_loop.quit()
 
 if __name__ == "__main__":