changeset 43:8184c7ad896c

Fix typo in build slave.
author cmlenz
date Thu, 23 Jun 2005 20:38:48 +0000
parents efa525876b1e
children ab569c55c835
files bitten/slave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/slave.py
+++ b/bitten/slave.py
@@ -64,7 +64,7 @@
         self.channel.send_msg(beep.MIMEMessage(xml), handle_reply)
 
     def handle_msg(self, msgno, msg):
-        if msg.get_content_type() == in ('application/tar', 'application/zip'):
+        if msg.get_content_type() == 'application/tar':
             logging.info('Received snapshot')
             workdir = tempfile.mkdtemp(prefix='bitten')
             archive_name = msg.get('Content-Disposition', 'snapshot.tar.gz')
Copyright (C) 2012-2017 Edgewall Software