[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/develop] Rename pidExists() to processExists() in bridgedb.test.util.



commit e4a406b9533e8e1e9295a9369ebb796e7655691e
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Wed Aug 27 05:31:39 2014 +0000

    Rename pidExists() to processExists() in bridgedb.test.util.
---
 lib/bridgedb/test/test_bridgedb.py |    2 +-
 lib/bridgedb/test/util.py          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/test/test_bridgedb.py b/lib/bridgedb/test/test_bridgedb.py
index 8627aed..750ddd4 100644
--- a/lib/bridgedb/test/test_bridgedb.py
+++ b/lib/bridgedb/test/test_bridgedb.py
@@ -20,7 +20,7 @@ import time
 from twisted.trial import unittest
 from twisted.trial.unittest import SkipTest
 
-from bridgedb.test.util import pidExists
+from bridgedb.test.util import processExists
 from bridgedb.test.util import getBridgeDBPID
 
 
diff --git a/lib/bridgedb/test/util.py b/lib/bridgedb/test/util.py
index 287fa26..8627281 100644
--- a/lib/bridgedb/test/util.py
+++ b/lib/bridgedb/test/util.py
@@ -65,7 +65,7 @@ def fileCheckDecorator(func):
                         % (str(description), dst, src))
     return wrapper
 
-def pidExists(pid):
+def processExists(pid):
     """Test if **pid** exists.
 
     :raises: OSError, if ``OSError.errno`` wasn't an expected errno (according



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits