From ccccd46b41a98f0e79524b1ca5912ce1a261ab63 Mon Sep 17 00:00:00 2001 From: zhurong Date: Mon, 20 Apr 2020 19:56:22 -0700 Subject: [PATCH] Remove Python 2.4 compat code Change-Id: Iebc99b020c8e8b65a4121e8044a51aaba1737b2b --- muranoclient/common/base.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/muranoclient/common/base.py b/muranoclient/common/base.py index 7eddb5ed..f4eb521d 100644 --- a/muranoclient/common/base.py +++ b/muranoclient/common/base.py @@ -23,14 +23,6 @@ import copy from muranoclient.apiclient import exceptions -# Python 2.4 compat -try: - all -except NameError: - def all(iterable): - return True not in (not x for x in iterable) - - def getid(obj): """Get obj's id or object itself if no id