# HG changeset patch
# User k0s <k0scist@gmail.com>
# Date 1260381928 18000
# Node ID 524f9e7fa224986d927cdceecd19a8fac171817d
# Parent  81619b59dd51a0f23ef1a4f429a550ffa8f348b7
be backwards compatible

diff -r 81619b59dd51 -r 524f9e7fa224 python/install_config.py
--- a/python/install_config.py	Tue Dec 08 16:32:23 2009 -0500
+++ b/python/install_config.py	Wed Dec 09 13:05:28 2009 -0500
@@ -7,12 +7,20 @@
 
 SRC='http://k0s.org/hg/config'
 import os
+import sys
 os.chdir(os.environ['HOME'])
 
 # make the current directory a repository
 import subprocess
-subprocess.check_call(['hg', 'init'])
-subprocess.check_call(['hg', 'pull', SRC])
-subprocess.check_call(['hg', 'update', '-C'])
+
+commands = [ ['hg', 'init'],
+             ['hg', 'pull', SRC],
+             ['hg', 'update', '-C' ] ]
+
+for command in commands:
+    code = subprocess.call(command)
+    if code:
+        sys.exit(code)
 
 
+