leif pushed a commit to branch master. http://git.enlightenment.org/apps/econnman.git/commit/?id=546e9c2776bd0ce05c1071372778d52ce8742a20
commit 546e9c2776bd0ce05c1071372778d52ce8742a20 Author: Leif Middelschulte <[email protected]> Date: Fri Jan 17 15:31:30 2014 +0100 Close ieee802.1x config file properly. --- econnman-bin.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/econnman-bin.in b/econnman-bin.in index 0503182..1f2b6a3 100755 --- a/econnman-bin.in +++ b/econnman-bin.in @@ -260,7 +260,7 @@ def config_file_setup(): try: fd = open(CONF_FILE, 'r', encoding='utf8') configs.readfp(fd) - close(fd) + fd.close() except IOError: popup_error(win, "Cannot read configuration file", "Econnman cannot read the coniguration file \"" + CONF_FILE + "\", used by connman to configure your ieee802.1x networks. Make sure the user running connman is able to read/write it.") configs = None --
