diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-08-24 17:00:15 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-08-25 11:07:22 -0700 |
| commit | dbad9de12613e835048cb53d6b39300fa05943d4 (patch) | |
| tree | 9020323673b642a96a4152a88bae49b0d7724ab0 /python | |
| parent | af1eba26c3a22b85bfe22ef14337652d92008d89 (diff) | |
| download | openvswitch-dbad9de12613e835048cb53d6b39300fa05943d4.tar.gz | |
ovs.daemon: Add missing 'global' when setting _pidfile_dev, _pidfile_ino.
Found by pychecker.
Diffstat (limited to 'python')
| -rw-r--r-- | python/ovs/daemon.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py index da7eb8aed..7bd7370ee 100644 --- a/python/ovs/daemon.py +++ b/python/ovs/daemon.py @@ -182,6 +182,8 @@ def _make_pidfile(): if error: _fatal("%s: unlink failed (%s)" % (tmpfile, os.strerror(error))) + global _pidfile_dev + global _pidfile_ino _pidfile_dev = s.st_dev _pidfile_ino = s.st_ino |
