From: Andrew Gaffney Date: Wed, 20 Feb 2008 16:51:26 +0000 (+0000) Subject: change 'is' to == because python is grumpy X-Git-Tag: CATALYST_2_0_6_916~179 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7675e6767cc88962fd9e1bca678e6db3200e2243;p=catalyst.git change 'is' to == because python is grumpy git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1315 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index 0816c8b2..280cc9f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 20 Feb 2008; Andrew Gaffney + modules/catalyst_support.py: + change 'is' to == because python is grumpy + 20 Feb 2008; Chris Gianelloni examples/livecd-stage2_template.spec, examples/stage4_template.spec, modules/livecd_stage2_target.py, targets/support/kmerge.sh, diff --git a/modules/catalyst_support.py b/modules/catalyst_support.py index a9054f97..2861a64f 100644 --- a/modules/catalyst_support.py +++ b/modules/catalyst_support.py @@ -65,7 +65,7 @@ def hexify(str): def generate_contents(file,contents_function="auto",verbose=False): try: _ = contents_function - if _ is 'auto' and file.endswith('.iso'): + if _ == 'auto' and file.endswith('.iso'): _ = 'isoinfo-l' if (_ in ['tar-tv','auto']): if file.endswith('.tgz') or file.endswith('.tar.gz'):