[rhinstaller/anaconda/pulls/397 master] Point coverage.py to the full path of pyanaconda/

vpodzime installerbot-noreply at redhat.com
Fri Oct 9 06:33:52 UTC 2015


> @@ -37,10 +37,18 @@ coverage = None
>  proc_cmdline = open("/proc/cmdline", "r").read()    # pylint: disable=interruptible-system-call
>  proc_cmdline = proc_cmdline.split()
>  if ("inst.debug=1" in proc_cmdline) or ("inst.debug" in proc_cmdline):
> +    import os
> +    import site

I think these two imports could safely go to the global scope of the file.

-- 
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/397#discussion_r41601054


More information about the anaconda-patches mailing list