change 'is' to == because python is grumpy
authorAndrew Gaffney <agaffney@gentoo.org>
Wed, 20 Feb 2008 16:51:26 +0000 (16:51 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Wed, 20 Feb 2008 16:51:26 +0000 (16:51 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1315 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/catalyst_support.py

index 0816c8b2e9919550982a99efcc937254e6389a85..280cc9f1636e9bc0908f1e37bfdf1d3510c5622e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  20 Feb 2008; Andrew Gaffney <agaffney@gentoo.org>
+  modules/catalyst_support.py:
+  change 'is' to == because python is grumpy
+
   20 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
   examples/livecd-stage2_template.spec, examples/stage4_template.spec,
   modules/livecd_stage2_target.py, targets/support/kmerge.sh,
index a9054f97af46d39101a2c6b8e0170454ef964b19..2861a64fca1dbb4ea92b42181724c25c4acd296f 100644 (file)
@@ -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'):