about summary refs log tree commit diff
path: root/examples/python/gi/firewall-zone.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/gi/firewall-zone.py')
-rwxr-xr-xexamples/python/gi/firewall-zone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/gi/firewall-zone.py b/examples/python/gi/firewall-zone.py
index a56760ae..979f2acf 100755
--- a/examples/python/gi/firewall-zone.py
+++ b/examples/python/gi/firewall-zone.py
@@ -77,5 +77,5 @@ if __name__ == "__main__":
                 print("'%s' zone set to '%s'") % (c.get_id(), new_zone)
             break
     if not found:
-        print ("Error: connection '%s' not found.") % (con_name)
+        sys.stderr.write("Error: connection '%s' not found.\n") % (con_name)
         main_loop.quit()