cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vincentbernat <...@git.apache.org>
Subject [GitHub] cloudstack pull request:
Date Tue, 10 Mar 2015 12:17:32 GMT
Github user vincentbernat commented on the pull request:

    https://github.com/apache/cloudstack/commit/8e953fe8593cf624c37213d94f79ea9e17a12f27#commitcomment-10118935
  
    In systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip.py:
    In systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip.py on line 76:
    ```python
    with file(getPasswordFile(), 'w'):
        for ip in passMap:
            f.write('%s=%s\n' % (ip, passMap[ip])
    ```
    
    (use of `with` and iteration on a dictionary is done on keys by default)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message