From acf58620347b431e1e4898366b2fc7707667abbe Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 15 Feb 2012 18:23:44 +0100 Subject: [PATCH] [entropy.client] drop Client.another_entropy_running() This has been sitting in deprecated state for very long time. --- lib/entropy/client/interfaces/methods.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/entropy/client/interfaces/methods.py b/lib/entropy/client/interfaces/methods.py index eb75eb9e2..ae423985b 100644 --- a/lib/entropy/client/interfaces/methods.py +++ b/lib/entropy/client/interfaces/methods.py @@ -1761,20 +1761,6 @@ class MiscMixin: MiscMixin.RESOURCES_LOCK_F_REF = flock_f return True - def another_entropy_running(self): - """ - Check if another Entropy instance is running. - TODO: drop method. - - @deprecated: use Entropy resources methods! This will be removed SOON. - @return: True if another Entropy instance is running, False otherwise. - @rtype: bool - """ - import warnings - warnings.warn("attention, deprecated, update your code") - acquired, locked = const_setup_entropy_pid(just_read = True) - return locked - def wait_resources(self, sleep_seconds = 1.0, max_lock_count = 300): """ Wait until resources are unlocked. Please note that this method doesn't