04808b85421bb7e68611bc4b5b4ae487bdf49dfd,reframe/core/environments.py,Environment,emit_load_commands,#Environment#,111

Before Change


            //        interface must be revisited (see issue /률)
            ret = list(self._load_stmts)
        else:
            ret = list(
                itertools.chain(*(rt.modules_system.emit_load_commands(m)
                                  for m in self.modules))
            )

        for k, v in self._variables.items():
            ret.append("export %s=%s" % (k, v))

After Change


        module_ops = self._module_ops or [("l", m) for m in self._modules]

        // Emit module commands
        ret = []
        for op, m in module_ops:
            ret += emit_fn[op](m)

        // Emit variable set commands
        for k, v in self._variables.items():
            ret.append("export %s=%s" % (k, v))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: eth-cscs/reframe
Commit Name: 04808b85421bb7e68611bc4b5b4ae487bdf49dfd
Time: 2018-12-17
Author: karakasis@cscs.ch
File Name: reframe/core/environments.py
Class Name: Environment
Method Name: emit_load_commands


Project Name: descarteslabs/descarteslabs-python
Commit Name: 0eac7564811728b0ec39381b7d873b51ae9b36ca
Time: 2017-04-07
Author: aliasmrchips@descarteslabs.com
File Name: descarteslabs/services/metadata.py
Class Name: Metadata
Method Name: search


Project Name: Rostlab/nalaf
Commit Name: fe41a42ff872debbc18f465f003a314f5ad19d29
Time: 2015-09-20
Author: carsten.uhlig@gmail.com
File Name: nala/utils/tagger.py
Class Name: TmVarTagger
Method Name: generate_abstracts