Permalink
Browse files

Merge pull request #5 from iFixit/dont-require-ssh-config-file

Don't require SSH config file
  • Loading branch information...
2 parents 7a03452 + 2c38fa8 commit 00155ecf82ce6166d0b9559a4a1983a98d7d4f8f @redsnapper8t8 committed Sep 30, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 pyvarnish/remote.py
View
@@ -25,9 +25,7 @@ def config(self):
try:
sshconfig.parse(open(SSH_CONFIG))
except IOError:
- print "your app needs to have a valid " \
- "ssh config file location in settings.py"
- sys.exit(1)
+ sys.stderr.write("Warning: SSH config file location invalid.\n")
conf = sshconfig.lookup(self.server)
if 'port' in conf:
conf['port'] = int(conf['port'])

0 comments on commit 00155ec

Please sign in to comment.