On Monday 06 January 2014 16:04:16 sebastianlut...@gmx.de wrote:
> +                             f = open(layout_conf_path, "w")
> +                             f.write("masters = test_repo\n")
> +                             f.close()

please use "with" in your code
        with open(layout_conf_path, 'w') as f:
                f.write('masters = test_repo\n')
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to