summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Redhat.py
diff options
context:
space:
mode:
authorBrian Pellin <bpellin@mcs.anl.gov>2005-01-10 18:25:28 +0000
committerBrian Pellin <bpellin@mcs.anl.gov>2005-01-10 18:25:28 +0000
commit566a5895856f6107c09dec33c74150da122d76aa (patch)
tree4ae9d9451bb59f2efb2ca4085fd0a8e6c50a91f0 /src/lib/Client/Redhat.py
parent8ae805d0ef12ed9fb4ab1b19cdb442c35adf96e6 (diff)
downloadbcfg2-566a5895856f6107c09dec33c74150da122d76aa.tar.gz
bcfg2-566a5895856f6107c09dec33c74150da122d76aa.tar.bz2
bcfg2-566a5895856f6107c09dec33c74150da122d76aa.zip
I guess ! is not a python operator.
(Logical change 1.184) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@785 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Redhat.py')
-rw-r--r--src/lib/Client/Redhat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index f35fc5883..47e169afd 100644
--- a/src/lib/Client/Redhat.py
+++ b/src/lib/Client/Redhat.py
@@ -86,7 +86,7 @@ class Redhat(Toolset):
def VerifyPackage(self, entry, modlist = []):
'''Verify Package status for entry'''
- if ! (entry.get('name') and entry.get('version')):
+ if not (entry.get('name') and entry.get('version')):
print "Can't install package, not enough data."
return False
instp = Popen4("rpm -qi %s-%s" % (entry.attrib['name'], entry.attrib['version']))