diff --git a/.travis.yml b/.travis.yml index 6fbfc591e..0a575fc1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ jobs: nix: 2.3.6 before_install: - git lfs pull + - echo "trusted-users = root travis" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon install: - nix-env -iA cachix -f https://cachix.org/api/v1/install script: diff --git a/pkg/herb/herb b/pkg/herb/herb index 633e7c5a9..315992f01 100755 --- a/pkg/herb/herb +++ b/pkg/herb/herb @@ -13,7 +13,7 @@ import argparse import base64 logging.basicConfig( - level=logging.DEBUG, + level=logging.WARNING, format='%(levelname)s %(funcName)s %(lineno)s - %(message)s', stream=sys.stderr, ) @@ -55,8 +55,7 @@ def preprocess_args(old_args): return ['--close'] + preprocess_args(old_args[1:]) return [old_args[0]] + preprocess_args(old_args[1:]) -#args = preprocess_args(sys.argv[1:]) -args = sys.argv[1:] +args = preprocess_args(sys.argv[1:]) logging.debug(['preprocessed', args])