From 2e9e71a377079d30164373a5e6788682bc8de319 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 18 Oct 2012 11:16:06 +0530 Subject: [PATCH] Push to getafix --- setup/installer/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/installer/__init__.py b/setup/installer/__init__.py index 313845e6dd..24febe29ae 100644 --- a/setup/installer/__init__.py +++ b/setup/installer/__init__.py @@ -6,7 +6,7 @@ __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal ' __docformat__ = 'restructuredtext en' -import subprocess, tempfile, os, time +import subprocess, tempfile, os, time, socket from setup import Command, installer_name from setup.build_environment import HOST, PROJECT @@ -62,7 +62,10 @@ class Push(Command): r'Owner@winxp:/cygdrive/c/Documents\ and\ Settings/Owner/calibre':'winxp', 'kovid@ox:calibre':None, r'kovid@win7:/cygdrive/c/Users/kovid/calibre':'Windows 7', + 'kovid@getafix:calibre-src':None, }.iteritems(): + if '@getafix:' in host and socket.gethostname() == 'getafix': + continue if vmname is None or is_vm_running(vmname): rcmd = BASE_RSYNC + EXCLUDES + ['.', host] print '\n\nPushing to:', vmname or host, '\n'