Python For Grammar
<p>I'm newbie to programming python. I built Beremiz program on Linux, I got this error.</p>

<pre><code>File "Beremiz.py", line 164, in &lt;module&gt;
    from ProjectController import ProjectController, MATIEC_ERROR_MODEL, ITEM_CONFNODE
  File "/DATA1/UTILITY/Beremiz/beremiz/ProjectController.py", line 16, in &lt;module&gt;
    import connectors
  File "/DATA1/UTILITY/Beremiz/beremiz/connectors/__init__.py", line 34
    for name in listdir(_base_path) 
      ^


connectors = {name:_GetLocalConnectorClassFactory(name)
                  for name in listdir(_base_path)
                      if path.isdir(path.join(_base_path, name))
                          and not name.startswith("__")}
</code></pre>

<p>This syntax is not build of python. What is problem?
Thanks for all.</p>
