-#!/usr/bin/env python2\r
-\r
-from gi.repository import GLib\r
-from gi.repository import Confi\r
-\r
-# Create a new object\r
-confi = Confi.Confi.new("PostgreSQL://postgres:postgres@HOST=localhost;DB_NAME=confi", "Default", None, False)\r
-\r
-print("Properties of a Confi object: ")\r
-print(dir(confi.props))\r
-\r
-value = confi.path_get_value ("folder/key1/key1_2")\r
-\r
-print("Value from key \"folder/key1/key1_2\": " + str(value))\r
-\r
-key = confi.path_get_confi_key ("folder/key1/key1_2")\r
-print("Path of confi key \"folder/key1/key1_2\": " + str(key.path))\r
-print("Value from confi key \"folder/key1/key1_2\": " + str(key.value))\r
-\r
-list = confi.get_configs_list ("PostgreSQL://postgres:postgres@HOST=localhost;DB_NAME=confi");\r
-print("The name of configuration 0: " + str(list[0].get_property("name")))\r
-\r
-confi.set_root ("key2")\r
-\r
-value = confi.path_get_value ("key2-1")\r
-\r
-print("Value from key \"key2-1\": " + str(value))\r
-\r
-confi.set_root ("/")\r
-confi.add_key ("folder", "key3");\r
-confi.add_key_with_value ("folder/key3", "key3-1", "value of key3-1 added programmatically")\r
-\r
-confi.set_root ("folder/key3")\r
-\r
-value = confi.path_get_value ("key3-1")\r
-\r
-print("Value from key \"key3-1\": " + str(value))\r
+#!/usr/bin/python
+
+from gi.repository import GLib
+from gi.repository import Confi
+
+# Create a new object
+confi = Confi.Confi.new("PostgreSQL://postgres:postgres@HOST=localhost;DB_NAME=confi", "Default", None, False)
+
+print("Properties of a Confi object: ")
+print(dir(confi.props))
+
+value = confi.path_get_value ("folder/key1/key1_2")
+
+print("Value from key \"folder/key1/key1_2\": " + str(value))
+
+key = confi.path_get_confi_key ("folder/key1/key1_2")
+print("Path of confi key \"folder/key1/key1_2\": " + str(key.path))
+print("Value from confi key \"folder/key1/key1_2\": " + str(key.value))
+
+list = confi.get_configs_list ("PostgreSQL://postgres:postgres@HOST=localhost;DB_NAME=confi");
+print("The name of configuration 0: " + str(list[0].get_property("name")))
+
+confi.set_root ("key2")
+
+value = confi.path_get_value ("key2-1")
+
+print("Value from key \"key2-1\": " + str(value))
+
+confi.set_root ("/")
+confi.add_key ("folder", "key3");
+confi.add_key_with_value ("folder/key3", "key3-1", "value of key3-1 added programmatically")
+
+confi.set_root ("folder/key3")
+
+value = confi.path_get_value ("key3-1")
+
+print("Value from key \"key3-1\": " + str(value))