From dbad9de12613e835048cb53d6b39300fa05943d4 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 24 Aug 2011 17:00:15 -0700 Subject: [PATCH] ovs.daemon: Add missing 'global' when setting _pidfile_dev, _pidfile_ino. Found by pychecker. --- python/ovs/daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py index da7eb8ae..7bd7370e 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 -- 2.30.2