~vishvananda/nova/network-refactor

« back to all changes in this revision

Viewing changes to nova/network/linux_net.py

  • Committer: Vishvananda Ishaya
  • Date: 2010-08-10 19:46:40 UTC
  • Revision ID: vishvananda@gmail.com-20100810194640-k0bj1c0tbokwr448
Further pylint cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
        #           correct dnsmasq process
159
159
        try:
160
160
            os.kill(pid, signal.SIGHUP)
161
 
        except Exception as exc:  # pylint: disable-msg=W0703
 
161
        except Exception as exc:  # pylint: disable=W0703
162
162
            logging.debug("Hupping dnsmasq threw %s", exc)
163
163
 
164
164
    # otherwise delete the existing leases file and start dnsmasq
179
179
    if pid:
180
180
        try:
181
181
            os.kill(pid, signal.SIGTERM)
182
 
        except Exception as exc:  # pylint: disable-msg=W0703
 
182
        except Exception as exc:  # pylint: disable=W0703
183
183
            logging.debug("Killing dnsmasq threw %s", exc)
184
184
 
185
185