#297 fixes #286
Closed 6 years ago by leamas. Opened 6 years ago by sergiomb.
sergiomb/FedoraReview devel  into  devel

file modified
+4 -3
@@ -161,9 +161,10 @@ 

  

          config_opts = {}

          with open(path) as f:

-             config = [line for line in f.readlines() if

-                       line.find("config_opts['root']") >= 0]

-         exec config[0]                           # pylint: disable=W0122

+             content = f.read()

+             content = re.sub(r'include\((.*)\)', r'exec(open(\g<1>).read(), {}, locals())', content)

+             config = compile(content, path, 'exec')

+         exec(config)

          self.mock_root = config_opts['root']

          if Settings.uniqueext:

              self.mock_root += Settings.uniqueext

I presume this one is outdated, overriden by your next PR. Closing.

Pull-Request has been closed by leamas

6 years ago

ok , this one was the correct pull request . i.e. was the PR for devel .

I checked and the commit was correct merged into devel ...

Metadata